2020-03-29 09:25:27 +08:00

42 lines
730 B
Go
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package system
import "time"
// User 用户模型
type User struct {
// 编号
ID string
// 用户名
Username string
// 密码md5+盐)
Password string
// 姓名
Name string
// 角色ID
RoleID string
// 角色名称(不存数据库)
RoleName string
// 组织机构ID
DeptID string
// 组织机构名称(不存数据库)
DeptName string
// 性别0-未设置1-男2-女
Gender int
// 手机号
Phone string
// 电子邮件
Email string
// QQ号
QQ string
// 创建时间
CreateTime time.Time
// 最后更新时间
UpdateTime time.Time
// 盐
Salt string
// 状态0-正常,-1删除
Status int
// 所有操作权限(不存数据库)
OperatingAuthorities []string
}