update order OR model

This commit is contained in:
Sinh 2022-09-06 11:09:52 +07:00
parent 9413158b8a
commit af6e0843b9
1 changed files with 11 additions and 5 deletions

View File

@ -7,6 +7,7 @@ type OrderUpdateORStatus struct {
Status string `json:"status"`
DeliveryStatus string `json:"deliveryStatus"`
Reason string `json:"reason"`
Data OrderORData `json:"data"`
}
// OrderCancelDelivery ...
@ -20,3 +21,8 @@ type OrderChangeDeliveryStatus struct {
DeliveryStatus string `json:"deliveryStatus"`
ActionBy ActionBy `json:"actionBy"`
}
// OrderORData ...
type OrderORData struct {
Link string `json:"link"`
}