|
|
|
@ -23,6 +23,9 @@ const supplierSchema = new mongoose.Schema(
|
|
|
|
|
{
|
|
|
|
|
suppliername: { type: String },
|
|
|
|
|
phone: { type: String, unique: true, trim: true },
|
|
|
|
|
bussinessname: {type : String, default: null},
|
|
|
|
|
registration_number: {type : String, default: null},
|
|
|
|
|
years_in_business: {type : String, default: null},
|
|
|
|
|
supplierId: {type : String, default: null},
|
|
|
|
|
phoneVerified: { type: Boolean, default: false },
|
|
|
|
|
phoneVerificationCode: { type: Number, default: 11111 },
|
|
|
|
|