init
This commit is contained in:
33
internal/model/entity/system_users.go
Normal file
33
internal/model/entity/system_users.go
Normal file
@@ -0,0 +1,33 @@
|
||||
// =================================================================================
|
||||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||||
// =================================================================================
|
||||
|
||||
package entity
|
||||
|
||||
import (
|
||||
"github.com/gogf/gf/v2/os/gtime"
|
||||
)
|
||||
|
||||
// SystemUsers is the golang structure for table system_users.
|
||||
type SystemUsers struct {
|
||||
Id int64 `json:"id" orm:"id" description:"用户ID"` // 用户ID
|
||||
Username string `json:"username" orm:"username" description:"用户账号"` // 用户账号
|
||||
Password string `json:"password" orm:"password" description:"密码"` // 密码
|
||||
Nickname string `json:"nickname" orm:"nickname" description:"用户昵称"` // 用户昵称
|
||||
Remark string `json:"remark" orm:"remark" description:"备注"` // 备注
|
||||
DeptId int64 `json:"deptId" orm:"dept_id" description:"部门ID"` // 部门ID
|
||||
PostIds string `json:"postIds" orm:"post_ids" description:"岗位编号数组"` // 岗位编号数组
|
||||
Email string `json:"email" orm:"email" description:"用户邮箱"` // 用户邮箱
|
||||
Mobile string `json:"mobile" orm:"mobile" description:"手机号码"` // 手机号码
|
||||
Sex int `json:"sex" orm:"sex" description:"用户性别"` // 用户性别
|
||||
Avatar string `json:"avatar" orm:"avatar" description:"头像地址"` // 头像地址
|
||||
Status int `json:"status" orm:"status" description:"帐号状态(0正常 1停用)"` // 帐号状态(0正常 1停用)
|
||||
LoginIp string `json:"loginIp" orm:"login_ip" description:"最后登录IP"` // 最后登录IP
|
||||
LoginDate *gtime.Time `json:"loginDate" orm:"login_date" description:"最后登录时间"` // 最后登录时间
|
||||
Creator string `json:"creator" orm:"creator" description:"创建者"` // 创建者
|
||||
CreateTime *gtime.Time `json:"createTime" orm:"create_time" description:"创建时间"` // 创建时间
|
||||
Updater string `json:"updater" orm:"updater" description:"更新者"` // 更新者
|
||||
UpdateTime *gtime.Time `json:"updateTime" orm:"update_time" description:"更新时间"` // 更新时间
|
||||
Deleted bool `json:"deleted" orm:"deleted" description:"是否删除"` // 是否删除
|
||||
TenantId int64 `json:"tenantId" orm:"tenant_id" description:"租户编号"` // 租户编号
|
||||
}
|
||||
Reference in New Issue
Block a user