<?php

namespace App\Models\Incidence;

use CodeIgniter\Model;

class IncidenceModel extends Model
{
    protected $table = 't_incidence';
    protected $primaryKey = 'PK_Incidence';
    protected $useAutoIncrement = true;

    protected $returnType       = 'array';
    protected $protectFields    = true;

    protected $allowedFields = 
    [
        'FK_Location', 
        'AffectedArea', 
        'Description', 
        'Priotiry', 
        'RequestDate', 
        'Evidence',
        'Status'
    ];

    protected $useTimestamps = false;
}