<?php

namespace App\Models;

use CodeIgniter\Model;

class StaffModel extends Model
{
    protected $table            = 'partner_staff';
    protected $primaryKey       = 'id';
    protected $allowedFields    = [
        'name',
        'email',
        'mobile',
        'role_id',
        'manager_id',
        'handler_id',
        'email_otp',
        'is_active',
        'created_by',
        'created_on',
        'updated_by',
        'updated_on',
        'pos_id',
        'retention_rate'
    ];

    protected $useTimestamps = false; // we manually manage created_on / updated_on



}
