user & device model
This commit is contained in:
@@ -7,6 +7,7 @@ const UserSchema = mongoose.Schema({
|
||||
username: String,
|
||||
permissions: Array,
|
||||
personalCode:String,
|
||||
|
||||
// for user
|
||||
national_code: String,
|
||||
province_id: String,
|
||||
@@ -42,6 +43,13 @@ const UserSchema = mongoose.Schema({
|
||||
last_name: String,
|
||||
password: String,
|
||||
|
||||
// for GPS
|
||||
shopName:String,
|
||||
shopNumber:String,
|
||||
shopAddress:String,
|
||||
birthDate:String,
|
||||
|
||||
|
||||
/// //////////////////////////////// user confirmations
|
||||
confirmed: { type: Boolean, default: false },
|
||||
email_confirmed: { type: Boolean, default: false },
|
||||
|
||||
Reference in New Issue
Block a user