This commit is contained in:
邹宗楠
2024-09-13 16:33:57 +08:00
parent 832d4a8a22
commit 0e1bffb13d
3 changed files with 25 additions and 9 deletions

View File

@@ -20,6 +20,12 @@ type SupermarketSign struct {
CreateCrowd string `orm:"column(create_crowd);size(16)" json:"createCrowd"` // 群状态
}
func (*SupermarketSign) TableUnique() [][]string {
return [][]string{
[]string{"StoreID"},
}
}
func (*SupermarketSign) TableIndex() [][]string {
return [][]string{
[]string{"StoreID", "StoreName", "CodeName"},