Set new structure

This commit is contained in:
Mr Swift
2024-10-16 19:05:32 +03:30
parent 40c62d7332
commit 27ac6eec76
4 changed files with 71 additions and 18 deletions
+9 -1
View File
@@ -4,7 +4,15 @@ const SerialSchema = mongoose.Schema({
code:String,
model:String,
message:String
message:String,
type:{
type:String,
enum:['guaranteeSerial', 'orginality']
},
kind:{
type:Number,
enum:[2,1]
}
})