sys_post.go 1.2 KB

123456789101112131415161718192021222324
  1. // =================================================================================
  2. // Code generated by GoFrame CLI tool. DO NOT EDIT.
  3. // =================================================================================
  4. package model
  5. import (
  6. "github.com/gogf/gf/os/gtime"
  7. )
  8. // SysPost is the golang structure for table sys_post.
  9. type SysPost struct {
  10. PostId int64 `orm:"post_id,primary" json:"postId"` // 岗位ID
  11. PostCode string `orm:"post_code" json:"postCode"` // 岗位编码
  12. PostName string `orm:"post_name" json:"postName"` // 岗位名称
  13. PostSort int `orm:"post_sort" json:"postSort"` // 显示顺序
  14. Status string `orm:"status" json:"status"` // 状态(0正常 1停用)
  15. Remark string `orm:"remark" json:"remark"` // 备注
  16. CreatedBy uint64 `orm:"created_by" json:"createdBy"` // 创建人
  17. UpdatedBy uint64 `orm:"updated_by" json:"updatedBy"` // 修改人
  18. CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间
  19. UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 修改时间
  20. DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除时间
  21. }