aa
This commit is contained in:
@@ -350,3 +350,28 @@ func (*VendorCategoryMap) TableUnique() [][]string {
|
||||
[]string{"VendorID", "VendorOrgCode", "CategoryID", "DeletedAt"},
|
||||
}
|
||||
}
|
||||
|
||||
//各平台商品数据
|
||||
type PageSku struct {
|
||||
ModelIDCUL
|
||||
|
||||
VendorID int `orm:"column(vendor_id)" json:"vendorID"`
|
||||
VendorStoreID string `orm:"column(vendor_store_id)" json:"vendorStoreID"`
|
||||
VendorSkuID string `orm:"column(vendor_sku_id)" json:"vendorSkuID"`
|
||||
VendorSkuName string `json:"vendorSkuName"`
|
||||
MonthSaled int `json:"monthSaled"`
|
||||
ActPrice int `json:"actPrice"`
|
||||
SalePrice int `json:"salePrice"`
|
||||
}
|
||||
|
||||
func (*PageSku) TableUnique() [][]string {
|
||||
return [][]string{
|
||||
[]string{"VendorID", "VendorStoreID", "VendorSkuID"},
|
||||
}
|
||||
}
|
||||
|
||||
func (*PageSku) TableIndex() [][]string {
|
||||
return [][]string{
|
||||
[]string{"MonthSaled", "SalePrice"},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user