|
|
|
@ -31,6 +31,7 @@ const supplierSchema = new mongoose.Schema(
|
|
|
|
|
emails: [{ email: String, verified: { type: Boolean, default: false } }],
|
|
|
|
|
services: { password: { bcrypt: String } },
|
|
|
|
|
description: {type : String, default: null},
|
|
|
|
|
startingPrice : { type : String, default: 0.0},
|
|
|
|
|
profile: {
|
|
|
|
|
role: [{ type: String, default: "supplier" }],
|
|
|
|
|
firstName: { type: String, default: null },
|
|
|
|
|