Readme / restaurant model lunch menu changed
This commit is contained in:
@@ -1,10 +0,0 @@
|
||||
const mongoose = require("mongoose");
|
||||
|
||||
const paymentSchema = mongoose.Schema({
|
||||
_id: mongoose.Types.ObjectId,
|
||||
restaurantId: mongoose.Types.ObjectId,
|
||||
amount: Number,
|
||||
months: Number,
|
||||
});
|
||||
|
||||
module.exorts = mongoose.model("Payment", paymentSchema);
|
||||
Reference in New Issue
Block a user