|
|
|
@ -101,6 +101,7 @@ const supplierSchema = new mongoose.Schema(
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
const deliveryBoySchema = new mongoose.Schema({
|
|
|
|
|
supplierId:{ type: String, default: null },
|
|
|
|
|
name: { type: String, default: null },
|
|
|
|
|
phone: { type: String, default: null,unique:true },
|
|
|
|
|
alternativeContactNumber : { type : String,default: null },
|
|
|
|
@ -109,7 +110,7 @@ const supplierSchema = new mongoose.Schema(
|
|
|
|
|
state: { type: String, default: null },
|
|
|
|
|
zip: { type: String, default: null },
|
|
|
|
|
timestamp: { type: Date, default: Date.now },
|
|
|
|
|
status: { type: String, default: "active" },
|
|
|
|
|
status: { type: String, default: "Inactive" },
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|