52 lines
2.0 KiB
Go
52 lines
2.0 KiB
Go
package response
|
|
|
|
type WaveReleaseResponse struct {
|
|
WaveID int64 `json:"wave_id"`
|
|
WaveNo string `json:"wave_no"`
|
|
}
|
|
type WaveTaskInfoResponse struct {
|
|
WaveTaskID int64 `json:"wave_task_id"`
|
|
TaskNo string `json:"task_no"`
|
|
Type int8 `json:"type"`
|
|
Status int8 `json:"status"`
|
|
Assignee string `json:"assignee"`
|
|
PurchaseOrderID int64 `json:"purchase_order_id"`
|
|
WarehouseID int64 `json:"warehouse_id"`
|
|
SupplierID int64 `json:"supplier_id"`
|
|
Items []WaveTaskItemResponse `json:"items"`
|
|
}
|
|
|
|
type WaveTaskItemResponse struct {
|
|
ProductID int64 `json:"product_id"`
|
|
ProductName string `json:"product_name"`
|
|
ProductCode string `json:"product_code"`
|
|
PlannedQuantity int64 `json:"planned_quantity"`
|
|
ActualQuantity int64 `json:"actual_quantity"`
|
|
UnitName string `json:"unit_name"`
|
|
}
|
|
|
|
type ReceivingDetailResponse struct {
|
|
ReceivingOrderID int64 `json:"receiving_order_id"`
|
|
ReceivingNo string `json:"receiving_no"`
|
|
Status int8 `json:"status"`
|
|
WarehouseID int64 `json:"warehouse_id"`
|
|
SupplierID int64 `json:"supplier_id"`
|
|
Operator string `json:"operator"`
|
|
Remark string `json:"remark"`
|
|
Items []ReceivingItemResponse `json:"items"`
|
|
}
|
|
|
|
type ReceivingItemResponse struct {
|
|
ID int64 `json:"id"`
|
|
ProductID int64 `json:"product_id"`
|
|
ProductName string `json:"product_name"`
|
|
ProductCode string `json:"product_code"`
|
|
LocationID int64 `json:"location_id"`
|
|
LocationCode string `json:"location_code"`
|
|
BatchNo string `json:"batch_no"`
|
|
ProductionDate int64 `json:"production_date"`
|
|
ExpiryDate int64 `json:"expiry_date"`
|
|
Quantity int64 `json:"quantity"`
|
|
UnitName string `json:"unit_name"`
|
|
}
|