<?php
namespace App\Models;
use CodeIgniter\Model;

class CustomerModel extends Model
{
    protected $table          = 'customers';
    protected $primaryKey     = 'id';
    protected $useTimestamps  = false;
    protected $useSoftDeletes = false;
    protected $deletedField   = 'deleted_at';
    protected $allowedFields  = [
        'company_id','ref','type','first_name','last_name','company_name',
        'vat_number','email','status','source','notes','created_by',,
        'created_at', 'updated_at', 'deleted_at'
    ];
}
