<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class Complaint extends Model
{
    use HasFactory;

    protected $fillable = [
        'complainant_name',
        'complaint_type',
        'complaint',
        'resolve_status',
        'resolve_date',
        'budget',
    ];

    protected $casts = [
        'resolve_status' => 'boolean',
        'resolve_date' => 'datetime',
    ];
}
