base_user.go 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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. // BaseUser is the golang structure for table base_user.
  9. type BaseUser struct {
  10. Id int `orm:"Id,primary" json:"id"` //
  11. Uuid string `orm:"Uuid" json:"uuid"` // 用户Id标识,不易猜出
  12. AccCode string `orm:"AccCode" json:"accCode"` // 区分不同App的用户
  13. Code string `orm:"Code" json:"code"` // 编码
  14. UserName string `orm:"UserName" json:"userName"` // 用户登录名
  15. Realname string `orm:"Realname" json:"realname"` // 用户名
  16. RoleId int `orm:"RoleId" json:"roleId"` // 角色id
  17. SecurityLevel int `orm:"SecurityLevel" json:"securityLevel"` //
  18. UserFrom string `orm:"UserFrom" json:"userFrom"` //
  19. CompanyId string `orm:"CompanyId" json:"companyId"` // 公司id
  20. CompanyName string `orm:"CompanyName" json:"companyName"` // 公司名称
  21. DepartmentId string `orm:"DepartmentId" json:"departmentId"` // 部门id
  22. DepartmentName string `orm:"DepartmentName" json:"departmentName"` // 部门名称
  23. WorkgroupId string `orm:"WorkgroupId" json:"workgroupId"` // 工作组id
  24. WorkgroupName string `orm:"WorkgroupName" json:"workgroupName"` // 工作组名称
  25. WorkCategory string `orm:"WorkCategory" json:"workCategory"` //
  26. Duty string `orm:"Duty" json:"duty"` // 职务
  27. Title string `orm:"Title" json:"title"` // 头衔
  28. Gender string `orm:"Gender" json:"gender"` // 性别
  29. Birthday string `orm:"Birthday" json:"birthday"` //
  30. Mobile string `orm:"Mobile" json:"mobile"` //
  31. Telephone string `orm:"Telephone" json:"telephone"` //
  32. Email string `orm:"Email" json:"email"` //
  33. OICQ string `orm:"OICQ" json:"oICQ"` //
  34. HomeAddress string `orm:"HomeAddress" json:"homeAddress"` //
  35. UserPassword string `orm:"UserPassword" json:"userPassword"` //
  36. ChangePasswordDate *gtime.Time `orm:"ChangePasswordDate" json:"changePasswordDate"` // 改密码时间
  37. CommunicationPassword string `orm:"CommunicationPassword" json:"communicationPassword"` //
  38. PublicKey string `orm:"PublicKey" json:"publicKey"` //
  39. SignedPassword string `orm:"SignedPassword" json:"signedPassword"` //
  40. Lang string `orm:"Lang" json:"lang"` //
  41. Theme string `orm:"Theme" json:"theme"` //
  42. AllowStartTime *gtime.Time `orm:"AllowStartTime" json:"allowStartTime"` //
  43. AllowEndTime *gtime.Time `orm:"AllowEndTime" json:"allowEndTime"` //
  44. LockStartDate *gtime.Time `orm:"LockStartDate" json:"lockStartDate"` //
  45. LockEndDate *gtime.Time `orm:"LockEndDate" json:"lockEndDate"` //
  46. FirstVisit *gtime.Time `orm:"FirstVisit" json:"firstVisit"` //
  47. PreviousVisit *gtime.Time `orm:"PreviousVisit" json:"previousVisit"` //
  48. LastVisit *gtime.Time `orm:"LastVisit" json:"lastVisit"` //
  49. LogOnCount int `orm:"LogOnCount" json:"logOnCount"` //
  50. IsStaff int `orm:"IsStaff" json:"isStaff"` //
  51. UserOnLine int `orm:"UserOnLine" json:"userOnLine"` //
  52. IsVisible int `orm:"IsVisible" json:"isVisible"` // 是否可视,1为可视
  53. OpenId string `orm:"OpenId" json:"openId"` //
  54. IPAddress string `orm:"IPAddress" json:"iPAddress"` //
  55. MACAddress string `orm:"MACAddress" json:"mACAddress"` //
  56. Question string `orm:"Question" json:"question"` //
  57. AnswerQuestion string `orm:"AnswerQuestion" json:"answerQuestion"` //
  58. UserAddressId int `orm:"UserAddressId" json:"userAddressId"` //
  59. Enabled int `orm:"Enabled" json:"enabled"` // 是否可用
  60. AuditStatus int `orm:"AuditStatus" json:"auditStatus"` // 激活状态(1激活)
  61. DeletionStateCode int `orm:"DeletionStateCode" json:"deletionStateCode"` // 删除状态
  62. SortCode int `orm:"SortCode" json:"sortCode"` //
  63. Description string `orm:"Description" json:"description"` //
  64. CreateOn *gtime.Time `orm:"CreateOn" json:"createOn"` //
  65. CreateUserId string `orm:"CreateUserId" json:"createUserId"` //
  66. CreateBy string `orm:"CreateBy" json:"createBy"` //
  67. ModifiedOn *gtime.Time `orm:"ModifiedOn" json:"modifiedOn"` //
  68. ModifiedUserId string `orm:"ModifiedUserId" json:"modifiedUserId"` //
  69. ModifiedBy string `orm:"ModifiedBy" json:"modifiedBy"` //
  70. Photo string `orm:"Photo" json:"photo"` //
  71. QRCode string `orm:"QRCode" json:"qRCode"` //
  72. QRCodeImage []byte `orm:"QRCodeImage" json:"qRCodeImage"` //
  73. IsCompanyUser int `orm:"IsCompanyUser" json:"isCompanyUser"` // 是否是企业用户(供方字段用)
  74. Superior string `orm:"Superior" json:"superior"` // 上级部门
  75. UnitId int `orm:"UnitId" json:"unitId"` // 二级单位ID(供方字段用)
  76. Unit string `orm:"Unit" json:"unit"` //
  77. DeletedAt *gtime.Time `orm:"DeletedAt" json:"deletedAt"` // 删除时间
  78. }