| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- // ==========================================================================
- // This is auto-generated by gf cli tool. DO NOT EDIT THIS FILE MANUALLY.
- // ==========================================================================
- package internal
- import (
- "github.com/gogf/gf/os/gtime"
- )
- // BaseUser is the golang structure for table base_user.
- type BaseUser struct {
- Id int `orm:"Id,primary" json:"id"` //
- Uuid string `orm:"Uuid" json:"uuid"` // 用户Id标识,不易猜出
- AccCode string `orm:"AccCode" json:"accCode"` // 区分不同App的用户
- Code string `orm:"Code" json:"code"` // 编码
- UserName string `orm:"UserName" json:"userName"` // 用户登录名
- Realname string `orm:"Realname" json:"realname"` // 用户名
- RoleId int `orm:"RoleId" json:"roleId"` // 角色id
- SecurityLevel int `orm:"SecurityLevel" json:"securityLevel"` //
- UserFrom string `orm:"UserFrom" json:"userFrom"` //
- CompanyId string `orm:"CompanyId" json:"companyId"` // 公司id
- CompanyName string `orm:"CompanyName" json:"companyName"` // 公司名称
- DepartmentId string `orm:"DepartmentId" json:"departmentId"` // 部门id
- DepartmentName string `orm:"DepartmentName" json:"departmentName"` // 部门名称
- WorkgroupId string `orm:"WorkgroupId" json:"workgroupId"` // 工作组id
- WorkgroupName string `orm:"WorkgroupName" json:"workgroupName"` // 工作组名称
- WorkCategory string `orm:"WorkCategory" json:"workCategory"` //
- Duty string `orm:"Duty" json:"duty"` // 职务
- Title string `orm:"Title" json:"title"` // 头衔
- Gender string `orm:"Gender" json:"gender"` // 性别
- Birthday string `orm:"Birthday" json:"birthday"` //
- Mobile string `orm:"Mobile" json:"mobile"` //
- Telephone string `orm:"Telephone" json:"telephone"` //
- Email string `orm:"Email" json:"email"` //
- OICQ string `orm:"OICQ" json:"oICQ"` //
- HomeAddress string `orm:"HomeAddress" json:"homeAddress"` //
- UserPassword string `orm:"UserPassword" json:"userPassword"` //
- ChangePasswordDate *gtime.Time `orm:"ChangePasswordDate" json:"changePasswordDate"` // 改密码时间
- CommunicationPassword string `orm:"CommunicationPassword" json:"communicationPassword"` //
- PublicKey string `orm:"PublicKey" json:"publicKey"` //
- SignedPassword string `orm:"SignedPassword" json:"signedPassword"` //
- Lang string `orm:"Lang" json:"lang"` //
- Theme string `orm:"Theme" json:"theme"` //
- AllowStartTime *gtime.Time `orm:"AllowStartTime" json:"allowStartTime"` //
- AllowEndTime *gtime.Time `orm:"AllowEndTime" json:"allowEndTime"` //
- LockStartDate *gtime.Time `orm:"LockStartDate" json:"lockStartDate"` //
- LockEndDate *gtime.Time `orm:"LockEndDate" json:"lockEndDate"` //
- FirstVisit *gtime.Time `orm:"FirstVisit" json:"firstVisit"` //
- PreviousVisit *gtime.Time `orm:"PreviousVisit" json:"previousVisit"` //
- LastVisit *gtime.Time `orm:"LastVisit" json:"lastVisit"` //
- LogOnCount int `orm:"LogOnCount" json:"logOnCount"` //
- IsStaff int `orm:"IsStaff" json:"isStaff"` //
- UserOnLine int `orm:"UserOnLine" json:"userOnLine"` //
- IsVisible int `orm:"IsVisible" json:"isVisible"` // 是否可视,1为可视
- OpenId string `orm:"OpenId" json:"openId"` //
- IPAddress string `orm:"IPAddress" json:"iPAddress"` //
- MACAddress string `orm:"MACAddress" json:"mACAddress"` //
- Question string `orm:"Question" json:"question"` //
- AnswerQuestion string `orm:"AnswerQuestion" json:"answerQuestion"` //
- UserAddressId int `orm:"UserAddressId" json:"userAddressId"` //
- Enabled int `orm:"Enabled" json:"enabled"` // 是否可用
- AuditStatus int `orm:"AuditStatus" json:"auditStatus"` // 激活状态(1激活)
- DeletionStateCode int `orm:"DeletionStateCode" json:"deletionStateCode"` // 删除状态
- SortCode int `orm:"SortCode" json:"sortCode"` //
- Description string `orm:"Description" json:"description"` //
- CreateOn *gtime.Time `orm:"CreateOn" json:"createOn"` //
- CreateUserId string `orm:"CreateUserId" json:"createUserId"` //
- CreateBy string `orm:"CreateBy" json:"createBy"` //
- ModifiedOn *gtime.Time `orm:"ModifiedOn" json:"modifiedOn"` //
- ModifiedUserId string `orm:"ModifiedUserId" json:"modifiedUserId"` //
- ModifiedBy string `orm:"ModifiedBy" json:"modifiedBy"` //
- Photo string `orm:"Photo" json:"photo"` //
- QRCode string `orm:"QRCode" json:"qRCode"` //
- QRCodeImage []byte `orm:"QRCodeImage" json:"qRCodeImage"` //
- IsCompanyUser int `orm:"IsCompanyUser" json:"isCompanyUser"` // 是否是企业用户(供方字段用)
- Superior string `orm:"Superior" json:"superior"` // 上级部门
- UnitId int `orm:"UnitId" json:"unitId"` // 二级单位ID(供方字段用)
- Unit string `orm:"Unit" json:"unit"` //
- DeletedAt *gtime.Time `orm:"DeletedAt" json:"deletedAt"` // 删除时间
- }
|