sys_user.go 2.1 KB

12345678910111213141516171819202122232425262728293031323334
  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. Remark string `orm:"remark" json:"remark"` // 备注
  23. CreatedBy int `orm:"created_by" json:"createdBy"` // 创建者
  24. CreatedName string `orm:"created_name" json:"createdName"` // 创建人
  25. CreatedTime *gtime.Time `orm:"created_time" json:"createdTime"` // 创建时间
  26. UpdatedBy int `orm:"updated_by" json:"updatedBy"` // 更新者
  27. UpdatedName string `orm:"updated_name" json:"updatedName"` // 更新人
  28. UpdatedTime *gtime.Time `orm:"updated_time" json:"updatedTime"` // 更新时间
  29. DeletedTime *gtime.Time `orm:"deleted_time" json:"deletedTime"` // 删除时间
  30. Status string `orm:"status" json:"status"` // 帐号状态(10正常20停用)
  31. }