define api get supplier orders
This commit is contained in:
parent
73181bc583
commit
d06719b0e6
|
@ -11,12 +11,13 @@ type SupplierOrderList struct {
|
||||||
|
|
||||||
// SupplierOrder ...
|
// SupplierOrder ...
|
||||||
type SupplierOrder struct {
|
type SupplierOrder struct {
|
||||||
ID string `json:"_id"`
|
ID string `json:"_id"`
|
||||||
Code string `json:"code"`
|
Code string `json:"code"`
|
||||||
CreatedAt time.Time `json:"createdAt"`
|
CreatedAt time.Time `json:"createdAt"`
|
||||||
Status string `json:"status"`
|
Status string `json:"status"`
|
||||||
Items []SupplierOrderItem `json:"items"`
|
WarehouseStatus string `json:"warehouseStatus"`
|
||||||
Delivery SupplierOrderDelivery `json:"delivery"`
|
Items []SupplierOrderItem `json:"items"`
|
||||||
|
Delivery SupplierOrderDelivery `json:"delivery"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// SupplierOrderItem ...
|
// SupplierOrderItem ...
|
||||||
|
|
Loading…
Reference in New Issue