<?php

namespace App\Models;

use CodeIgniter\Model;

class EndorsementTypeModel extends Model
{
    protected $table            = 'partner_endorsement_type_master';
    protected $primaryKey       = 'id';
    protected $useAutoIncrement = true;

    // Return results as array
    protected $returnType       = 'array';

    protected $allowedFields    = [

        'endorsement_type',
        'is_active',
        'created_by',
        'created_on',
        'updated_by',
        'updated_on'
    ];

    // Automatic timestamps
    protected $useTimestamps = false;
}
