// ================================================================================= // Code generated and maintained by GoFrame CLI tool. DO NOT EDIT. // ================================================================================= package entity import ( "github.com/gogf/gf/v2/os/gtime" ) // SystemDept is the golang structure for table system_dept. type SystemDept struct { Id int64 `json:"id" orm:"id" description:"部门id"` // 部门id Name string `json:"name" orm:"name" description:"部门名称"` // 部门名称 ParentId int64 `json:"parentId" orm:"parent_id" description:"父部门id"` // 父部门id Sort int `json:"sort" orm:"sort" description:"显示顺序"` // 显示顺序 LeaderUserId int64 `json:"leaderUserId" orm:"leader_user_id" description:"负责人"` // 负责人 Phone string `json:"phone" orm:"phone" description:"联系电话"` // 联系电话 Email string `json:"email" orm:"email" description:"邮箱"` // 邮箱 Status int `json:"status" orm:"status" description:"部门状态(0正常 1停用)"` // 部门状态(0正常 1停用) Creator string `json:"creator" orm:"creator" description:"创建者"` // 创建者 CreateTime *gtime.Time `json:"createTime" orm:"create_time" description:"创建时间"` // 创建时间 Updater string `json:"updater" orm:"updater" description:"更新者"` // 更新者 UpdateTime *gtime.Time `json:"updateTime" orm:"update_time" description:"更新时间"` // 更新时间 Deleted bool `json:"deleted" orm:"deleted" description:"是否删除"` // 是否删除 TenantId int64 `json:"tenantId" orm:"tenant_id" description:"租户编号"` // 租户编号 }