sys_user.go 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. // ==========================================================================
  2. // This is auto-generated by gf cli tool. DO NOT EDIT THIS FILE MANUALLY.
  3. // ==========================================================================
  4. package internal
  5. import (
  6. "github.com/gogf/gf/os/gtime"
  7. )
  8. // SysUser is the golang structure for table sys_user.
  9. type SysUser struct {
  10. Id int `orm:"id,primary" json:"id"` // 用户ID
  11. DeptId int `orm:"dept_id" json:"deptId"` // 部门ID
  12. UserName string `orm:"user_name" json:"userName"` // 用户账号
  13. NickName string `orm:"nick_name" json:"nickName"` // 用户昵称
  14. UserType string `orm:"user_type" json:"userType"` // 用户类型(00系统用户)
  15. Email string `orm:"email" json:"email"` // 用户邮箱
  16. Phone string `orm:"phone" json:"phone"` // 手机号码
  17. Sex string `orm:"sex" json:"sex"` // 用户性别(10男20女30未知)
  18. Avatar string `orm:"avatar" json:"avatar"` // 头像地址
  19. Password string `orm:"password" json:"password"` // 密码
  20. LoginIp string `orm:"login_ip" json:"loginIp"` // 最后登录IP
  21. LoginDate *gtime.Time `orm:"login_date" json:"loginDate"` // 最后登录时间
  22. WechatId string `orm:"wechat_id" json:"wechatId"` // 微信open_id
  23. DingtalkId string `orm:"dingtalk_id" json:"dingtalkId"` // 钉钉union_id
  24. DingtalkUid string `orm:"dingtalk_uid" json:"dingtalkUid"` // 钉钉用户ID
  25. Remark string `orm:"remark" json:"remark"` // 备注
  26. CreatedBy int `orm:"created_by" json:"createdBy"` // 创建者
  27. CreatedName string `orm:"created_name" json:"createdName"` // 创建人
  28. CreatedTime *gtime.Time `orm:"created_time" json:"createdTime"` // 创建时间
  29. UpdatedBy int `orm:"updated_by" json:"updatedBy"` // 更新者
  30. UpdatedName string `orm:"updated_name" json:"updatedName"` // 更新人
  31. UpdatedTime *gtime.Time `orm:"updated_time" json:"updatedTime"` // 更新时间
  32. DeletedTime *gtime.Time `orm:"deleted_time" json:"deletedTime"` // 删除时间
  33. Status string `orm:"status" json:"status"` // 帐号状态(10正常20停用)
  34. UserSalt string `orm:"user_salt" json:"userSalt"` // 加密盐
  35. }