1
This commit is contained in:
@@ -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"},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user