阶段性提交

This commit is contained in:
GoEdgeLab
2020-07-22 22:17:53 +08:00
parent a39aeb54c8
commit 9a751902f4
85 changed files with 3419 additions and 76 deletions

View File

@@ -0,0 +1,26 @@
package models
//
type User struct {
Id uint32 `field:"id"` // ID
Username string `field:"username"` // 用户名
Password string `field:"password"` // 密码
Fullname string `field:"fullname"` // 真实姓名
CreatedAt uint32 `field:"createdAt"` // 创建时间
UpdatedAt uint32 `field:"updatedAt"` // 修改时间
State uint8 `field:"state"` // 状态
}
type UserOperator struct {
Id interface{} // ID
Username interface{} // 用户名
Password interface{} // 密码
Fullname interface{} // 真实姓名
CreatedAt interface{} // 创建时间
UpdatedAt interface{} // 修改时间
State interface{} // 状态
}
func NewUserOperator() *UserOperator {
return &UserOperator{}
}