|
|
|
@ -14,19 +14,20 @@ const tankersSchema = new mongoose.Schema({
|
|
|
|
|
|
|
|
|
|
tankerName: { type: String, default: null },
|
|
|
|
|
phoneNumber: { type: String, default: null },
|
|
|
|
|
|
|
|
|
|
typeofwater: [{ type: String, default: null }],
|
|
|
|
|
capacity: [{ type: String, default: null }],
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
const tankersbookingSchema = new mongoose.Schema({
|
|
|
|
|
|
|
|
|
|
bookingid: { type: String, default: null,unique: true },
|
|
|
|
|
dateOfOrder: { type: String, default: null },
|
|
|
|
|
typeofwater: { type: String, default: null },
|
|
|
|
|
capacity: { type: String, default: null },
|
|
|
|
|
address: { type: String, default: null },
|
|
|
|
|
dateTime: { type: String, default: null },
|
|
|
|
|
amount : { type: String, default: "due" },
|
|
|
|
|
//orderStatus: { type: String, default: "due" },
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|