jiangshuai
2023-09-20 6becb6b281b34e17197a25af86acd35628e88811
models/product_category.go
@@ -13,11 +13,11 @@
      BaseModelInt
      Name                 string                        `json:"name" gorm:"index;type:varchar(255);not null;comment:分类名称"` //位置名称
      ParentId             int                           `json:"parentId" gorm:"type:int;comment:上级分类id"`                   //上级id
      RouteId              int                           `json:"routeId" gorm:"type:int;comment:路线id"`
      RouteName            string                        `json:"routeName" gorm:"type:varchar(512);comment:路线名称"`         //公司
      ForceRemovalStrategy constvar.ForceRemovalStrategy `json:"forceRemovalStrategy" gorm:"type:tinyint;comment:强制下架策略"` //强制下架策略
      CostingMethod        constvar.CostingMethod        `json:"costingMethod" gorm:"type:tinyint;comment:成本方法"`          //成本方法
      InventoryValuation   constvar.InventoryValuation   `json:"inventoryValuation" gorm:"type:tinyint;comment:库存计价"`     //库存计价
      RouteId              int                           `json:"routeId" gorm:"type:int;comment:路线id"`                      //路线id
      RouteName            string                        `json:"routeName" gorm:"type:varchar(512);comment:路线名称"`           //公司
      ForceRemovalStrategy constvar.ForceRemovalStrategy `json:"forceRemovalStrategy" gorm:"type:tinyint;comment:强制下架策略"`   //强制下架策略
      CostingMethod        constvar.CostingMethod        `json:"costingMethod" gorm:"type:tinyint;comment:成本方法"`            //成本方法
      InventoryValuation   constvar.InventoryValuation   `json:"inventoryValuation" gorm:"type:tinyint;comment:库存计价"`       //库存计价
   }
   ProductCategorySearch struct {