jiangshuai
2023-10-30 3f1fb8181a80624ec3f77412040777892a462fdc
request/location_product.go
@@ -1,16 +1,20 @@
package request
import "wms/constvar"
type AddLocationProduct struct {
   LocationId        int    `json:"locationId"`        //位置id
   ProductId         string `json:"productId"`         //产品id
   ProductCategoryId int    `json:"productCategoryId"` //产品种类id
   AreaId            int    `json:"areaId"`            //区域id
   LocationId        int               `json:"locationId"`        //位置id
   ProductId         string            `json:"productId"`         //产品id
   ProductCategoryId int               `json:"productCategoryId"` //产品种类id
   AreaId            int               `json:"areaId"`            //区域id
   RuleType          constvar.RuleType `json:"ruleType"`          //上架规则类型 1:产品类型;2:产品类别类型
}
type UpdateLocationProduct struct {
   Id                int    `json:"id"`
   LocationId        int    `json:"locationId"`        //位置id
   ProductId         string `json:"productId"`         //产品id
   ProductCategoryId int    `json:"productCategoryId"` //产品种类id
   AreaId            int    `json:"areaId"`            //区域id
   Id                int               `json:"id"`
   LocationId        int               `json:"locationId"`        //位置id
   ProductId         string            `json:"productId"`         //产品id
   ProductCategoryId int               `json:"productCategoryId"` //产品种类id
   AreaId            int               `json:"areaId"`            //区域id
   RuleType          constvar.RuleType `json:"ruleType"`          //上架规则类型 1:产品类型;2:产品类别类型
}