update model warehouse response nats

This commit is contained in:
Nguyen Minh 2024-07-03 15:36:56 +07:00
parent 1384cae433
commit ff223e2b46
1 changed files with 8 additions and 6 deletions

View File

@ -61,12 +61,14 @@ type WarehouseSupplier struct {
// WarehouseOrder ... // WarehouseOrder ...
type WarehouseOrder struct { type WarehouseOrder struct {
MinimumValue float64 `json:"minimumValue"` MinimumValue float64 `json:"minimumValue"`
PaymentMethod WarehousePaymentMethod `json:"paymentMethod"` PaymentMethod WarehousePaymentMethod `json:"paymentMethod"`
IsLimitNumberOfPurchases bool `json:"isLimitNumberOfPurchases"` IsLimitNumberOfPurchases bool `json:"isLimitNumberOfPurchases"`
LimitNumberOfPurchases int64 `json:"limitNumberOfPurchases"` LimitNumberOfPurchases int64 `json:"limitNumberOfPurchases"`
NotifyOnNewOrder WarehouseConfigNotifyOnNewOrder `json:"notifyOnNewOrder"` NotifyOnNewOrder WarehouseConfigNotifyOnNewOrder `json:"notifyOnNewOrder"`
LabelSize string `json:"labelSize"` LabelSize string `json:"labelSize"`
MaximumOrderValue float64 `json:"maximumOrderValue"`
MaximumNumberPerBuyerEachMonth float64 `json:"maximumNumberPerBuyerEachMonth"`
} }
// WarehouseConfigNotifyOnNewOrder ... // WarehouseConfigNotifyOnNewOrder ...