<?php

namespace App\Models;

use CodeIgniter\Model;

class ProjectModel extends Model
{
    protected $table            = 'projects';
    protected $primaryKey       = 'id';
    protected $useAutoIncrement = true;
    protected $returnType       = 'array';
    protected $useSoftDeletes   = false;
    protected $protectFields    = true;
    protected $allowedFields    = ['title', 'client_name', 'client_details', 'description', 'status', 'budget', 'start_date', 'end_date', 'image'];


    // Dates
    protected $useTimestamps = false;
}
