sys_user.go 1.5 KB

123456789101112131415161718192021222324252627282930313233343536
  1. // =================================================================================
  2. // Code generated by GoFrame CLI tool. DO NOT EDIT. Created at 2022-03-02 16:48:23
  3. // =================================================================================
  4. package do
  5. import (
  6. "github.com/gogf/gf/v2/frame/g"
  7. "github.com/gogf/gf/v2/os/gtime"
  8. )
  9. // SysUser is the golang structure of table sys_user for DAO operations like Where/Data.
  10. type SysUser struct {
  11. g.Meta `orm:"table:sys_user, do:true"`
  12. Id interface{} //
  13. UserName interface{} // 用户名
  14. Mobile interface{} // 中国手机不带国家代码,国际手机号格式为:国家代码-手机号
  15. UserNickname interface{} // 用户昵称
  16. Birthday interface{} // 生日
  17. UserPassword interface{} // 登录密码;cmf_password加密
  18. UserSalt interface{} // 加密盐
  19. UserStatus interface{} // 用户状态;0:禁用,1:正常,2:未验证
  20. UserEmail interface{} // 用户登录邮箱
  21. Sex interface{} // 性别;0:保密,1:男,2:女
  22. Avatar interface{} // 用户头像
  23. DeptId interface{} // 部门id
  24. Remark interface{} // 备注
  25. IsAdmin interface{} // 是否后台管理员 1 是 0 否
  26. Address interface{} // 联系地址
  27. Describe interface{} // 描述信息
  28. LastLoginIp interface{} // 最后登录ip
  29. LastLoginTime *gtime.Time // 最后登录时间
  30. CreatedAt *gtime.Time // 创建时间
  31. UpdatedAt *gtime.Time // 更新时间
  32. DeletedAt *gtime.Time // 删除时间
  33. }