mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-03 15:00:27 +08:00
27 lines
767 B
Go
27 lines
767 B
Go
package models
|
|
|
|
// 供应商
|
|
type Provider 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"` // 状态
|
|
}
|
|
|
|
type ProviderOperator struct {
|
|
Id interface{} // ID
|
|
Username interface{} // 用户名
|
|
Password interface{} // 密码
|
|
Fullname interface{} // 真实姓名
|
|
CreatedAt interface{} // 创建时间
|
|
UpdatedAt interface{} // 修改时间
|
|
State interface{} // 状态
|
|
}
|
|
|
|
func NewProviderOperator() *ProviderOperator {
|
|
return &ProviderOperator{}
|
|
}
|