|
|
@ -99,6 +99,7 @@ const supplierSchema = new mongoose.Schema(
|
|
|
|
status: { type: String, default: "pending" },
|
|
|
|
status: { type: String, default: "pending" },
|
|
|
|
timestamp: { type: Date, default: Date.now }
|
|
|
|
timestamp: { type: Date, default: Date.now }
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const deliveryBoySchema = new mongoose.Schema({
|
|
|
|
const deliveryBoySchema = new mongoose.Schema({
|
|
|
|
supplierId:{ type: String, default: null },
|
|
|
|
supplierId:{ type: String, default: null },
|
|
|
|