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

class JobModel extends Model
{
    protected $table          = 'jobs';
    protected $primaryKey     = 'id';
    protected $useTimestamps  = false;
    protected $useSoftDeletes = false;
    protected $deletedField   = 'deleted_at';
    protected $allowedFields  = [
        'company_id','customer_id','type_id','status_id','pricing_type_id',
        'location_id','site_address_id','source_quote_id','number','title',
        'description','internal_notes','customer_notes','priority',
        'estimated_mins','scheduled_date','scheduled_time','pricing_rate',
        'source','completion_note','completion_sig_path','completed_at','created_by',,
        'created_at', 'updated_at', 'deleted_at'
    ];
}
