<?php

namespace App\Models;

use CodeIgniter\Model;

class CareRequestModel extends Model
{
    protected $table = 'care_requests';
    protected $primaryKey = 'id';
    protected $returnType = 'array';
    protected $useTimestamps = true;
    protected $allowedFields = ['patient_id','family_member_id','service_id','address_id','scheduled_for','urgency','status','chief_complaint','latitude','longitude','address_text','estimated_amount','assigned_practitioner_id','accepted_at','cancelled_at','completed_at'];
}
