package request import ( "github.com/shopspring/decimal" "wms/constvar" ) type GetProductList struct { PageInfo KeyWord string `json:"keyWord"` } type QueryOperationList struct { PageInfo ProductId string `json:"productId"` } type AddDisuse struct { ProductId string `json:"productId"` ProductName string `json:"productName"` Amount decimal.Decimal `json:"amount"` FromLocationId int `json:"fromLocationId"` ToLocationId int `json:"toLocationId"` SourceNumber string `json:"sourceNumber"` Unit string `json:"unit"` } type QueryDisuseList struct { PageInfo Number string `json:"number"` SourceNumber string `json:"sourceNumber"` } type UpdateDisuse struct { Id int `json:"id"` ProductId string `json:"productId"` ProductName string `json:"productName"` Amount decimal.Decimal `json:"amount"` FromLocationId int `json:"fromLocationId"` ToLocationId int `json:"toLocationId"` SourceNumber string `json:"sourceNumber"` Unit string `json:"unit"` Number string `json:"number"` Status constvar.OperationStatus `json:"status"` OperationDate string `json:"operationDate"` }