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

@ -2,11 +2,12 @@ package model
// OrderUpdateORStatus ... // OrderUpdateORStatus ...
type OrderUpdateORStatus struct { type OrderUpdateORStatus struct {
OrderCode string `json:"orderCode"` OrderCode string `json:"orderCode"`
ORCode string `json:"orCode"` ORCode string `json:"orCode"`
Status string `json:"status"` Status string `json:"status"`
DeliveryStatus string `json:"deliveryStatus"` DeliveryStatus string `json:"deliveryStatus"`
Reason string `json:"reason"` Reason string `json:"reason"`
Data OrderORData `json:"data"`
} }
// OrderCancelDelivery ... // OrderCancelDelivery ...
@ -20,3 +21,8 @@ type OrderChangeDeliveryStatus struct {
DeliveryStatus string `json:"deliveryStatus"` DeliveryStatus string `json:"deliveryStatus"`
ActionBy ActionBy `json:"actionBy"` ActionBy ActionBy `json:"actionBy"`
} }
// OrderORData ...
type OrderORData struct {
Link string `json:"link"`
}