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

class LeaveEntryModel extends Model
{
    protected $table         = 'leave_entries';
    protected $primaryKey    = 'id';
    protected $useTimestamps  = false;
    protected $allowedFields  = ['company_id','user_id','type','start_date','end_date','days_taken','notes','approved','approved_by','approved_at','rejected','rejection_reason','created_at','updated_at','deleted_at'];
}
