From 9c385b3198fcd4046666f5ed27562bc4382fbd56 Mon Sep 17 00:00:00 2001 From: suyl <770236076@qq.com> Date: Fri, 13 Aug 2021 11:05:48 +0800 Subject: [PATCH] aa --- business/model/act.go | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/business/model/act.go b/business/model/act.go index 2eb89d230..f05eef705 100644 --- a/business/model/act.go +++ b/business/model/act.go @@ -259,3 +259,18 @@ func (*StoreSkuAct) TableUnique() [][]string { []string{"StoreID", "SkuID", "VendorID"}, } } + +type ActMtwmVendor struct { + ModelIDCUL + StoreID int `orm:"column(store_id)" json:"store_id"` + SkuID int `orm:"column(sku_id);index" json:"sku_id"` + VendorStoreID string `orm:"column(vendor_store_id)" json:"vendor_store_id"` + + ActPercentage int `json:"actPercentage"` // 直降活动百分比 + SyncStatus int8 `orm:"default(2)" json:"syncStatus"` + // ActID int `orm:"column(act_id);index" json:"actID"` + VendorActID string `orm:"column(vendor_act_id);size(48);index" json:"vendorActID"` + HintActID int `orm:"column(hint_act_id);size(48);index" json:"hintActID"` + VendorActPrice int64 `json:"vendorActPrice"` // 保存数据用,实际的活动价 + Remark string `orm:"column(remark);size(1024)" json:"remark"` +}