<?php

namespace App\Models\Report;

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

class ManagementReportRecipient extends Model
{
    use HasFactory;

    protected $fillable = [
        'name',
        'email_address',
        'is_active',
        'last_report_date',
        'last_sent_at',  
    ];

    protected $casts = [
        'is_active' => 'boolean',
        'last_report_date' => 'date',
        'last_sent_at' => 'datetime',
    ];
}
