demo_data_auth.go 1.1 KB

12345678910111213141516171819202122232425
  1. // ==========================================================================
  2. // GFast自动生成model代码,无需手动修改,重新生成会自动覆盖.
  3. // 生成日期:2022-03-03 10:11:15
  4. // 生成路径: gfast/app/demo/model/demo_data_auth.go
  5. // 生成人:gfast
  6. // ==========================================================================
  7. package model
  8. import (
  9. "github.com/gogf/gf/os/gtime"
  10. "github.com/gogf/gf/util/gmeta"
  11. )
  12. // DemoDataAuth is the golang structure for table demo_data_auth.
  13. type DemoDataAuth struct {
  14. gmeta.Meta `orm:"table:demo_data_auth"`
  15. Id uint `orm:"id,primary" json:"id"` // ID
  16. Title string `orm:"title" json:"title"` // 标题
  17. CreatedBy uint `orm:"created_by" json:"createdBy"` // 创建人
  18. UpdatedBy uint `orm:"updated_by" json:"updatedBy"` // 修改人
  19. CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间
  20. UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 修改时间
  21. DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除时间
  22. }