This commit is contained in:
苏尹岚
2021-03-11 16:02:28 +08:00
parent 41c27faab7
commit 344ecb0d13
3 changed files with 33 additions and 16 deletions

View File

@@ -861,3 +861,28 @@ func (v *StoreAcct) TableIndex() [][]string {
[]string{"AccountBalance"},
}
}
type StoreManageState struct {
ModelIDCUL
StoreID int `orm:"column(store_id)" json:"storeID"`
VendorID int `orm:"column(vendor_id)" json:"vendorID"`
CoverArea float64 `json:"coverArea"`
MarketScale int `json:"marketScale"` //市场规模
OpenTime float64 `json:"openTime"` //营业时长
SkuCount int `json:"skuCount"` //商品数
HighSkuCount int `json:"highSkuCount"` //虚高商品数
ActAmple int `json:"actAmple"` //活动丰富的
NullOrderCount int `json:"nullOrderCount"` //无效订单数
RefuseOrderCount int `json:"refuseOrderCount"` //拒绝订单数
StoreScore float64 `json:"storeScore"` //门店评分
RepurchaseRate int `json:"repurchaseRate"` //复购率(转化率)
VendorStatus int `json:"vendorStatus"` //平台营业状态
Comment string `json:"comment"` //备注
}
func (v *StoreManageState) TableUnique() [][]string {
return [][]string{
[]string{"StoreID", "VendorID"},
}
}