diff --git a/business/model/store.go b/business/model/store.go index 3e72193cd..2e281bb68 100644 --- a/business/model/store.go +++ b/business/model/store.go @@ -685,3 +685,15 @@ func (*StoreCategoryMap) TableUnique() [][]string { []string{"StoreID", "CategoryID", "DeletedAt"}, } } + +type StoreClientPush struct { + ModelIDCULD + StoreID int `orm:"column(store_id)" json:"storeID"` + ClientID string `orm:"column(client_id);size(255)" json:"clientID"` +} + +func (*StoreClientPush) TableUnique() [][]string { + return [][]string{ + []string{"StoreID", "ClientID"}, + } +}