sys_user.go 2.1 KB

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