This commit is contained in:
Swift
2024-02-02 12:35:35 +03:30
parent 980763fd6e
commit b14c480f17
7 changed files with 211 additions and 8 deletions
+19
View File
@@ -0,0 +1,19 @@
const mongoose = require('mongoose')
const ComplaintSchema = mongoose.Schema({
fullName: String,
national: Number,
phoneNumber: Number,
deviceNumber: String,
email: String,
receptionCode: String,
caption: String,
callType: Boolean
})
module.exports = mongoose.model('Complaint', ComplaintSchema)