github.com/SupenBysz/gf-admin-community@v0.7.4/sys_model/sys_entity/sys_user.go (about) 1 // ================================================================================= 2 // Code generated by GoFrame CLI tool. DO NOT EDIT. 3 // ================================================================================= 4 5 package sys_entity 6 7 import ( 8 "github.com/gogf/gf/v2/os/gtime" 9 ) 10 11 // SysUser is the golang structure for table sys_user. 12 type SysUser struct { 13 Id int64 `json:"id" description:""` 14 Username string `json:"username" description:"账号"` 15 Password string `json:"password" description:"密码"` 16 State int `json:"state" description:"状态:0未激活、1正常、-1封号、-2异常、-3已注销"` 17 Type int `json:"type" description:"用户类型:0匿名、1用户、2微商、4商户、8广告主、16服务商、32运营中心、64后台"` 18 Mobile string `json:"mobile" description:"手机号"` 19 CreatedAt *gtime.Time `json:"createdAt" description:""` 20 UpdatedAt *gtime.Time `json:"updatedAt" description:""` 21 DeletedAt *gtime.Time `json:"deletedAt" description:""` 22 Email string `json:"email" description:"邮箱"` 23 }