This commit is contained in:
payacom
2026-08-31 20:45:41 +03:30
parent fa9f23c61d
commit 3f416a7a60
367 changed files with 621895 additions and 6443 deletions

View File

@@ -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
}
})