This commit is contained in:
suyl
2021-07-19 10:21:23 +08:00
parent 0c41bf7c42
commit cd1c03c834
2 changed files with 38 additions and 2 deletions

View File

@@ -67,6 +67,9 @@ type User struct {
Profit int `json:"profit"`
ProfitSum int `json:"profitSum"`
Arrears int `json:"arrears"`
BindStoreID int `orm:"column(bind_store_id)" json:"bind_store_id"` //门店老板账号用,表示绑的哪个门店,后权限用
BindStoreUser string `json:"bind_store_user"` //表示绑的哪个账号,密码同这个账号
}
func (*User) TableUnique() [][]string {