aa
This commit is contained in:
@@ -327,3 +327,19 @@ func (*SkuVendorCategoryMap) TableIndex() [][]string {
|
||||
[]string{"NameID", "VendorID"},
|
||||
}
|
||||
}
|
||||
|
||||
type VendorCategoryMap struct {
|
||||
ModelIDCULD
|
||||
VendorOrgCode string `json:"vendorOrgCode"`
|
||||
CategoryID int `orm:"column(category_id)" json:"categoryID"` // 这个是指对应的sku_category
|
||||
VendorCategoryName string `orm:"size(255)" json:"vendorCategoryName"` // 平台类别单独的名字
|
||||
VendorCategorySeq int `orm:"default(0)" json:"vendorCategorySeq"` // 平台类别单独的序号
|
||||
Level int `json:"level"` // 平台类别单独的等级
|
||||
ParentID int `orm:"column(parent_id)" json:"parentID"` //门店类别父ID,和sku_category一致
|
||||
}
|
||||
|
||||
func (*VendorCategoryMap) TableUnique() [][]string {
|
||||
return [][]string{
|
||||
[]string{"VendorOrgCode", "CategoryID", "DeletedAt"},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user