update: remove tomanPrice and renewalProfit from device and exel file

This commit is contained in:
mahyargdz
2025-02-02 16:42:58 +03:30
parent 502aeb0676
commit 83d6fe0df1
4 changed files with 31 additions and 31 deletions
+9 -9
View File
@@ -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: [