// ========================================================================== // This is auto-generated by gf cli tool. DO NOT EDIT THIS FILE MANUALLY. // ========================================================================== package internal import ( "github.com/gogf/gf/os/gtime" ) // SysUser is the golang structure for table sys_user. type SysUser struct { Id int `orm:"id,primary" json:"id"` // 用户ID DeptId int `orm:"dept_id" json:"deptId"` // 部门ID UserName string `orm:"user_name" json:"userName"` // 用户账号 NickName string `orm:"nick_name" json:"nickName"` // 用户昵称 UserType string `orm:"user_type" json:"userType"` // 用户类型(00系统用户) Email string `orm:"email" json:"email"` // 用户邮箱 Phone string `orm:"phone" json:"phone"` // 手机号码 Sex string `orm:"sex" json:"sex"` // 用户性别(10男20女30未知) Avatar string `orm:"avatar" json:"avatar"` // 头像地址 Status string `orm:"status" json:"status"` // 帐号状态(10正常20停用) UserSalt string `orm:"user_salt" json:"userSalt"` // 加密盐 Password string `orm:"password" json:"password"` // 密码 LoginIp string `orm:"login_ip" json:"loginIp"` // 最后登录IP LoginDate *gtime.Time `orm:"login_date" json:"loginDate"` // 最后登录时间 WechatId string `orm:"wechat_id" json:"wechatId"` // 微信open_id DingtalkId string `orm:"dingtalk_id" json:"dingtalkId"` // 钉钉union_id DingtalkUid string `orm:"dingtalk_uid" json:"dingtalkUid"` // 钉钉用户ID IsFirstLogin string `orm:"is_first_login" json:"isFirstLogin"` // 首次登录(10是20否) AllowErrorNum int `orm:"allow_error_num" json:"allowErrorNum"` // 允许登录错误次数 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"` // 删除时间 }