update warehouse config
This commit is contained in:
parent
aaf8de9830
commit
202dca2c28
|
@ -61,10 +61,18 @@ type WarehouseSupplier struct {
|
|||
|
||||
// WarehouseOrder ...
|
||||
type WarehouseOrder struct {
|
||||
MinimumValue float64 `json:"minimumValue"`
|
||||
PaymentMethod WarehousePaymentMethod `json:"paymentMethod"`
|
||||
IsLimitNumberOfPurchases bool `json:"isLimitNumberOfPurchases"`
|
||||
LimitNumberOfPurchases int64 `json:"limitNumberOfPurchases"`
|
||||
MinimumValue float64 `json:"minimumValue"`
|
||||
PaymentMethod WarehousePaymentMethod `json:"paymentMethod"`
|
||||
IsLimitNumberOfPurchases bool `json:"isLimitNumberOfPurchases"`
|
||||
LimitNumberOfPurchases int64 `json:"limitNumberOfPurchases"`
|
||||
NotifyOnNewOrder WarehouseConfigNotifyOnNewOrder `json:"notifyOnNewOrder"`
|
||||
}
|
||||
|
||||
// WarehouseConfigNotifyOnNewOrder ...
|
||||
type WarehouseConfigNotifyOnNewOrder struct {
|
||||
Enable bool `bson:"enable" json:"enable"`
|
||||
Channel string `bson:"channel" json:"channel"`
|
||||
RoomID string `bson:"roomId" json:"roomId"`
|
||||
}
|
||||
|
||||
// WarehousePaymentMethod ...
|
||||
|
|
Loading…
Reference in New Issue