full
This commit is contained in:
@@ -22,6 +22,27 @@ const offerSchema = new mongoose.Schema({
|
||||
type: mongoose.Schema.Types.ObjectId,
|
||||
ref: 'Payment',
|
||||
default: null
|
||||
},
|
||||
// سهم ۳۰٪ گیرنده که فقط با پاسخگویی ظرف ۲۴ ساعت به اولین پیام دایرکت واریز میشود
|
||||
pendingCommissionAmount: {
|
||||
type: Number,
|
||||
default: 0
|
||||
},
|
||||
firstMessageAt: {
|
||||
type: Date,
|
||||
default: null
|
||||
},
|
||||
replyDeadline: {
|
||||
type: Date,
|
||||
default: null
|
||||
},
|
||||
repliedAt: {
|
||||
type: Date,
|
||||
default: null
|
||||
},
|
||||
commissionCredited: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
}
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user