<?php

namespace App\Models;

use CodeIgniter\Model;

class CommissionsPaidModel extends Model
{
    protected $table      = 'commissions_paid';
    protected $primaryKey = 'id';

    // If using auto-increment in your database, set $useAutoIncrement = true
    protected $useAutoIncrement = true;

    protected $allowedFields = [
        'payout_batch',
        'payout_date',
        'user_id',
        'deal_id',
        'order_id',
        'job_fuction_id',
        'amount',
        'revoke_status'
    ];

    // Optionally define validation rules, etc. if needed
}
