This commit is contained in:
邹宗楠
2023-02-24 14:51:32 +08:00
parent 6275b14570
commit 610a7feeca

View File

@@ -15,15 +15,10 @@ type PrintBindStore struct {
BindStatus int `orm:"type(int);size(2)" json:"bind_status" db:"bind_status"` // 绑定状态
}
func (v *PrintBindStore) TableUnique() [][]string {
return [][]string{
[]string{"StoreID"},
}
}
func (v *PrintBindStore) TableIndex() [][]string {
return [][]string{
[]string{"UserId", "PrintNo", "StoreID"},
[]string{"PrintNo", "StoreID"},
[]string{"StoreID"},
}
}