sys_dept.go 1.7 KB

123456789101112131415161718192021222324252627282930
  1. // ==========================================================================
  2. // This is auto-generated by gf cli tool. DO NOT EDIT THIS FILE MANUALLY.
  3. // ==========================================================================
  4. package internal
  5. import (
  6. "github.com/gogf/gf/os/gtime"
  7. )
  8. // SysDept is the golang structure for table sys_dept.
  9. type SysDept struct {
  10. Id int `orm:"id,primary" json:"id"` // 部门id
  11. ParentId int `orm:"parent_id" json:"parentId"` // 父部门id
  12. Ancestors string `orm:"ancestors" json:"ancestors"` // 祖级列表
  13. DeptName string `orm:"dept_name" json:"deptName"` // 部门名称
  14. Leader string `orm:"leader" json:"leader"` // 负责人
  15. Phone string `orm:"phone" json:"phone"` // 联系电话
  16. Email string `orm:"email" json:"email"` // 邮箱
  17. Status string `orm:"status" json:"status"` // 部门状态(10正常20停用);1停用)
  18. Sort int `orm:"sort" json:"sort"` // 显示顺序
  19. Remark string `orm:"remark" json:"remark"` // 备注
  20. CreatedBy int `orm:"created_by" json:"createdBy"` // 创建者
  21. CreatedName string `orm:"created_name" json:"createdName"` // 创建人
  22. CreatedTime *gtime.Time `orm:"created_time" json:"createdTime"` // 创建时间
  23. UpdatedBy int `orm:"updated_by" json:"updatedBy"` // 更新者
  24. UpdatedName string `orm:"updated_name" json:"updatedName"` // 更新人
  25. UpdatedTime *gtime.Time `orm:"updated_time" json:"updatedTime"` // 更新时间
  26. DeletedTime *gtime.Time `orm:"deleted_time" json:"deletedTime"` // 删除时间
  27. }