Set new structure
This commit is contained in:
@@ -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]
|
||||
}
|
||||
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user