1
This commit is contained in:
@@ -301,7 +301,6 @@ var (
|
||||
|
||||
type Store struct {
|
||||
ModelIDCULD
|
||||
|
||||
OriginalName string `orm:"-" json:"originalName"`
|
||||
Name string `orm:"size(255)" json:"name"`
|
||||
CityCode int `orm:"default(0);null" json:"cityCode"` // todo ?
|
||||
@@ -995,3 +994,18 @@ func (*BrandCategoryMap) TableUnique() [][]string {
|
||||
[]string{"BrandID", "CategoryID", "DeletedAt"},
|
||||
}
|
||||
}
|
||||
|
||||
// 抖店 创建运费模板映射关系
|
||||
type FreightTemplate struct {
|
||||
ModelIDCULD
|
||||
StoreID int64 `orm:"column(store_id)" json:"storeID"` //京西本地门店ID
|
||||
VendorStoreID int64 `orm:"column(vendor_store_id)" json:"vendorStoreID"` //抖店平台门店ID
|
||||
TemplateID int64 `orm:"column(template_id)" json:"templateID"` //运费模板ID
|
||||
TemplateDetail string `orm:"column(template_detail)" json:"templateDetail"` //json转化的模板信息
|
||||
}
|
||||
|
||||
func (*FreightTemplate) TableUnique() [][]string {
|
||||
return [][]string{
|
||||
[]string{"StoreID", "TemplateID", "VendorStoreID"},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user