Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type User ¶
type User struct { Id int `json:"id" ` // EmployeeId uint `json:"employeeId" ` // 员工ID UserName string `json:"userName" ` // 员工姓名 WorkNumber string `json:"workNumber" ` // 员工工号 Password string `json:"password" ` // 密码 Sex uint `json:"sex" ` // 性别(0:未知 1:男 2:女) Phone string `json:"phone" ` // 手机号码 Email string `json:"email" ` // 邮箱号码 Status int `json:"status" ` // 在职状态(1:在职 2:试用期 3:实习期 4:已离职) Remark string `json:"remark" ` // 预留备注信息 CreateTime *gtime.Time `json:"createTime" ` // 新增数据时间 UpdateTime *gtime.Time `json:"updateTime" ` // 最后一次更新数据时间 }
User is the golang structure for table user.
Click to show internal directories.
Click to hide internal directories.