add menu in create and update product admin

This commit is contained in:
hamid.zarghami1@gmail.com
2024-05-13 12:41:43 +03:30
parent e644edbd65
commit 5cc22592f5
4 changed files with 36 additions and 5 deletions
+1
View File
@@ -41,6 +41,7 @@ const FoodSchema = mongoose.Schema({
index: Number,
havePoint : {type: Boolean ,default : true},
canReview : {type :Array , default: []},
menuType_id: {type: mongoose.ObjectId, ref: 'MenuType'}
// deleted : {type: Boolean , default : false}
})