sys_dept.go 1.4 KB

123456789101112131415161718192021222324252627
  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. // SysDept is the golang structure for table sys_dept.
  9. type SysDept struct {
  10. DeptId int64 `orm:"dept_id,primary" json:"deptId"` // 部门id
  11. ParentId int64 `orm:"parent_id" json:"parentId"` // 父部门id
  12. Ancestors string `orm:"ancestors" json:"ancestors"` // 祖级列表
  13. DeptName string `orm:"dept_name" json:"deptName"` // 部门名称
  14. OrderNum int `orm:"order_num" json:"orderNum"` // 显示顺序
  15. Leader string `orm:"leader" json:"leader"` // 负责人
  16. Phone string `orm:"phone" json:"phone"` // 联系电话
  17. Email string `orm:"email" json:"email"` // 邮箱
  18. Status string `orm:"status" json:"status"` // 部门状态(0正常 1停用)
  19. CreatedBy uint64 `orm:"created_by" json:"createdBy"` // 创建人
  20. UpdatedBy int64 `orm:"updated_by" json:"updatedBy"` // 修改人
  21. CreatedAt *gtime.Time `orm:"created_at" json:"createdAt"` // 创建时间
  22. UpdatedAt *gtime.Time `orm:"updated_at" json:"updatedAt"` // 修改时间
  23. DeletedAt *gtime.Time `orm:"deleted_at" json:"deletedAt"` // 删除时间
  24. }