This commit is contained in:
@@ -27,6 +27,7 @@ const ShipmentSchema = new Schema<IShipmentProviders>(
|
||||
costs: [ShipmentCostSchema],
|
||||
deliveryType: { type: String, enum: DeliveryType, required: true },
|
||||
deliveryTime: { type: Number, required: true },
|
||||
payDeliveryFeeOnDelivery: { type: Boolean, default: false },
|
||||
deleted: { type: Boolean, default: false },
|
||||
},
|
||||
{ timestamps: true, toJSON: { versionKey: false }, _id: false, id: false },
|
||||
|
||||
Reference in New Issue
Block a user