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