增加is_hidden字段
This commit is contained in:
@@ -732,11 +732,12 @@ func (l *FreightDeductionPack) Swap(i, j int) {
|
|||||||
type StoreCategoryMap struct {
|
type StoreCategoryMap struct {
|
||||||
ModelIDCULD
|
ModelIDCULD
|
||||||
StoreID int `orm:"column(store_id)" json:"storeID"`
|
StoreID int `orm:"column(store_id)" json:"storeID"`
|
||||||
CategoryID int `orm:"column(category_id)" json:"categoryID"` // 这个是指对应的sku_category
|
CategoryID int `orm:"column(category_id)" json:"categoryID"` // 这个是指对应的sku_category
|
||||||
StoreCategoryName string `orm:"size(255)" json:"name"` // 门店类别单独的名字
|
StoreCategoryName string `orm:"size(255)" json:"name"` // 门店类别单独的名字
|
||||||
StoreCategorySeq int `orm:"default(0)" json:"storeCategorySeq"` // 门店类别单独的序号
|
StoreCategorySeq int `orm:"default(0)" json:"storeCategorySeq"` // 门店类别单独的序号
|
||||||
Level int `json:"level"` // 门店类别单独的等级
|
Level int `json:"level"` // 门店类别单独的等级
|
||||||
ParentID int `orm:"column(parent_id)" json:"parentID"` //门店类别父ID,和sku_category一致
|
ParentID int `orm:"column(parent_id)" json:"parentID"` //门店类别父ID,和sku_category一致
|
||||||
|
IsHidden int `orm:"column(is_hidden);default(1)" json:"isHidden"` //门店类别是否展示 1:展示 -1:不展示
|
||||||
}
|
}
|
||||||
|
|
||||||
func (*StoreCategoryMap) TableUnique() [][]string {
|
func (*StoreCategoryMap) TableUnique() [][]string {
|
||||||
|
|||||||
Reference in New Issue
Block a user