a]
This commit is contained in:
@@ -972,3 +972,19 @@ func (v *StoreMapAudit) TableIndex() [][]string {
|
||||
[]string{"StoreID", "VendorStoreID"},
|
||||
}
|
||||
}
|
||||
|
||||
type BrandCategoryMap struct {
|
||||
ModelIDCULD
|
||||
BrandID int `orm:"column(brand_id)" json:"brandID"`
|
||||
CategoryID int `orm:"column(category_id)" json:"categoryID"` // 这个是指对应的sku_category
|
||||
BrandCategoryName string `orm:"size(255)" json:"name"` // 门店类别单独的名字
|
||||
BrandCategorySeq int `orm:"default(0)" json:"storeCategorySeq"` // 门店类别单独的序号
|
||||
Level int `json:"level"` // 门店类别单独的等级
|
||||
ParentID int `orm:"column(parent_id)" json:"parentID"` //门店类别父ID,和sku_category一致
|
||||
}
|
||||
|
||||
func (*BrandCategoryMap) TableUnique() [][]string {
|
||||
return [][]string{
|
||||
[]string{"BrandID", "CategoryID", "DeletedAt"},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user