From ff223e2b46f74c232785075722c0db1a726713ad Mon Sep 17 00:00:00 2001 From: Nguyen Minh Date: Wed, 3 Jul 2024 15:36:56 +0700 Subject: [PATCH] update model warehouse response nats --- model/warehouse_response.go | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/model/warehouse_response.go b/model/warehouse_response.go index 676cea3..4c6ff5a 100644 --- a/model/warehouse_response.go +++ b/model/warehouse_response.go @@ -61,12 +61,14 @@ type WarehouseSupplier struct { // WarehouseOrder ... type WarehouseOrder struct { - MinimumValue float64 `json:"minimumValue"` - PaymentMethod WarehousePaymentMethod `json:"paymentMethod"` - IsLimitNumberOfPurchases bool `json:"isLimitNumberOfPurchases"` - LimitNumberOfPurchases int64 `json:"limitNumberOfPurchases"` - NotifyOnNewOrder WarehouseConfigNotifyOnNewOrder `json:"notifyOnNewOrder"` - LabelSize string `json:"labelSize"` + MinimumValue float64 `json:"minimumValue"` + PaymentMethod WarehousePaymentMethod `json:"paymentMethod"` + IsLimitNumberOfPurchases bool `json:"isLimitNumberOfPurchases"` + LimitNumberOfPurchases int64 `json:"limitNumberOfPurchases"` + NotifyOnNewOrder WarehouseConfigNotifyOnNewOrder `json:"notifyOnNewOrder"` + LabelSize string `json:"labelSize"` + MaximumOrderValue float64 `json:"maximumOrderValue"` + MaximumNumberPerBuyerEachMonth float64 `json:"maximumNumberPerBuyerEachMonth"` } // WarehouseConfigNotifyOnNewOrder ... -- 2.34.1