update: remove tomanPrice and renewalProfit from device and exel file
This commit is contained in:
@@ -6,11 +6,11 @@ const deviceSchema = mongoose.Schema({
|
||||
type: String,
|
||||
unique: [true, 'این ایدی در سامانه موجود است']
|
||||
},
|
||||
tomanPrice: {
|
||||
type: Number,
|
||||
min: 0,
|
||||
default: 0
|
||||
},
|
||||
// tomanPrice: {
|
||||
// type: Number,
|
||||
// min: 0,
|
||||
// default: 0
|
||||
// },
|
||||
// dollarProfit: {
|
||||
// type: Number,
|
||||
// min: 0,
|
||||
@@ -25,10 +25,10 @@ const deviceSchema = mongoose.Schema({
|
||||
type: Number,
|
||||
min: 0
|
||||
},
|
||||
renewalProfit: {
|
||||
type: Number,
|
||||
min: 0
|
||||
},
|
||||
// renewalProfit: {
|
||||
// type: Number,
|
||||
// min: 0
|
||||
// },
|
||||
status: {
|
||||
type: Number,
|
||||
enum: [
|
||||
|
||||
Reference in New Issue
Block a user