29 lines
2.2 KiB
Go
29 lines
2.2 KiB
Go
// =================================================================================
|
||
// Code generated and maintained by GoFrame CLI tool. DO NOT EDIT.
|
||
// =================================================================================
|
||
|
||
package entity
|
||
|
||
import (
|
||
"github.com/gogf/gf/v2/os/gtime"
|
||
)
|
||
|
||
// StoreAdmins is the golang structure for table store_admins.
|
||
type StoreAdmins struct {
|
||
Id int64 `json:"id" orm:"id" description:"门店管理员ID"` // 门店管理员ID
|
||
StoreId int64 `json:"storeId" orm:"store_id" description:"所属门店ID"` // 所属门店ID
|
||
Username string `json:"username" orm:"username" description:"用户名"` // 用户名
|
||
PasswordHash string `json:"passwordHash" orm:"password_hash" description:"密码哈希"` // 密码哈希
|
||
RealName string `json:"realName" orm:"real_name" description:"真实姓名"` // 真实姓名
|
||
Phone string `json:"phone" orm:"phone" description:"手机号"` // 手机号
|
||
Email string `json:"email" orm:"email" description:"邮箱"` // 邮箱
|
||
IsPrimary bool `json:"isPrimary" orm:"is_primary" description:"是否为主账号(1=是,0=否)"` // 是否为主账号(1=是,0=否)
|
||
Status int `json:"status" orm:"status" description:"状态:1=正常,2=禁用"` // 状态:1=正常,2=禁用
|
||
LastLoginAt *gtime.Time `json:"lastLoginAt" orm:"last_login_at" description:"最后登录时间"` // 最后登录时间
|
||
CreatedAt *gtime.Time `json:"createdAt" orm:"created_at" description:"创建时间"` // 创建时间
|
||
UpdatedAt *gtime.Time `json:"updatedAt" orm:"updated_at" description:"更新时间"` // 更新时间
|
||
DeletedAt *gtime.Time `json:"deletedAt" orm:"deleted_at" description:"软删除时间戳"` // 软删除时间戳
|
||
RoleId int64 `json:"roleId" orm:"role_id" description:"角色ID"` // 角色ID
|
||
StoreRoleId int64 `json:"storeRoleId" orm:"store_role_id" description:"门店角色ID"` // 门店角色ID
|
||
}
|