[集群]增加TOA相关设置

This commit is contained in:
刘祥超
2020-12-02 14:26:03 +08:00
parent 118624b776
commit 622f5db0b5
7 changed files with 135 additions and 32 deletions

View File

@@ -2,29 +2,35 @@ package models
// 用户
type User struct {
Id uint32 `field:"id"` // ID
Username string `field:"username"` // 用户名
Password string `field:"password"` // 密码
Fullname string `field:"fullname"` // 真实姓名
CreatedAt uint64 `field:"createdAt"` // 创建时间
UpdatedAt uint64 `field:"updatedAt"` // 修改时间
State uint8 `field:"state"` // 状态
Mobile string `field:"mobile"` // 手机号
Remark string `field:"remark"` // 备注
Email string `field:"email"` // 邮箱地址
Id uint32 `field:"id"` // ID
IsOn uint8 `field:"isOn"` // 是否启用
Username string `field:"username"` // 用户名
Password string `field:"password"` // 密码
Fullname string `field:"fullname"` // 真实姓名
Mobile string `field:"mobile"` // 手机号
Tel string `field:"tel"` // 联系电话
Remark string `field:"remark"` // 备注
Email string `field:"email"` // 邮箱地址
AvatarFileId uint64 `field:"avatarFileId"` // 头像文件ID
CreatedAt uint64 `field:"createdAt"` // 创建时间
UpdatedAt uint64 `field:"updatedAt"` // 修改时间
State uint8 `field:"state"` // 状态
}
type UserOperator struct {
Id interface{} // ID
Username interface{} // 用户名
Password interface{} // 密码
Fullname interface{} // 真实姓名
CreatedAt interface{} // 创建时间
UpdatedAt interface{} // 修改时间
State interface{} // 状态
Mobile interface{} // 手机号
Remark interface{} // 备注
Email interface{} // 邮箱地址
Id interface{} // ID
IsOn interface{} // 是否启
Username interface{} // 用户名
Password interface{} // 密码
Fullname interface{} // 真实姓名
Mobile interface{} // 手机号
Tel interface{} // 联系电话
Remark interface{} // 备注
Email interface{} // 邮箱地址
AvatarFileId interface{} // 头像文件ID
CreatedAt interface{} // 创建时间
UpdatedAt interface{} // 修改时间
State interface{} // 状态
}
func NewUserOperator() *UserOperator {