liujiandao
2023-10-31 307c699810c39714e82efac9de56f70b93a718a2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package request
 
import (
    "github.com/shopspring/decimal"
    "wms/constvar"
)
 
type GetReorderRuleList struct {
    PageInfo
    KeyWord string `json:"keyWord"`
}
 
type ProductAmount struct {
    ProductId      string                   `json:"productId"`
    ToLocationId   int                      `json:"toLocationId"`
    FromLocationId int                      `json:"fromLocationId"`
    Amount         decimal.Decimal          `json:"amount"`
    Status         constvar.OperationStatus `json:"status"`
}
 
type GetAmountAndPrediction struct {
    ProductId  string `json:"productId"`
    LocationId int    `json:"locationId"`
}