Merge branch 'order/notify-on-new-order-for-warehouse' into develop
This commit is contained in:
commit
622c6719c0
|
@ -61,10 +61,18 @@ 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"`
|
||||||
|
}
|
||||||
|
|
||||||
|
// WarehouseConfigNotifyOnNewOrder ...
|
||||||
|
type WarehouseConfigNotifyOnNewOrder struct {
|
||||||
|
Enable bool `bson:"enable" json:"enable"`
|
||||||
|
Channel string `bson:"channel" json:"channel"`
|
||||||
|
RoomID string `bson:"roomId" json:"roomId"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// WarehousePaymentMethod ...
|
// WarehousePaymentMethod ...
|
||||||
|
|
Loading…
Reference in New Issue