<?php

namespace App\Models;

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

class RiskAssessment extends Model
{
    use HasFactory;

    protected $fillable = [
        'title',
        'area',
        'owner',
        'risk_level',
        'status',
        'assessment_date',
        'mitigation_plan',
    ];

    protected $casts = [
        'assessment_date' => 'date',
    ];
}
