/
user.go
25 lines (22 loc) · 1.14 KB
/
user.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
// ==========================================================================
// Code generated by GoFrame CLI tool. DO NOT EDIT.
// ==========================================================================
package internal
import (
"github.com/gogf/gf/os/gtime"
)
// User is the golang structure for table 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" ` // 最后一次更新数据时间
}