<?php

namespace App\Models\Contracts;

use CodeIgniter\Model;

class ContractModel extends Model
{
    protected $table = 't_contract';
    protected $primaryKey = 'PK_Contract';
    protected $allowedFields = [
        'ContractNumber',
        'StartDate',
        'ContractLenght',
        'Warranty',
        'Rent',
        'FK_Location',
        'FK_User',
        'Furnished',
        'Concluded',
        'ConclusionReason',
        'ConclusionDate'
    ];
}
