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

class QuoteModel extends Model
{
    protected $table          = 'quotes';
    protected $primaryKey     = 'id';
    protected $useTimestamps  = false;
    protected $useSoftDeletes = false;
    protected $deletedField   = 'deleted_at';
    protected $allowedFields  = [
        'company_id','customer_id','job_id','number','title','status',
        'valid_until','subtotal','discount_total','tax_total','total',
        'notes','terms','footer_text','sent_at','accepted_at','declined_at','created_by',,
        'created_at', 'updated_at', 'deleted_at'
    ];
}
