<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Inquiry extends Model
{
    protected $guarded = [];

    protected function casts(): array
    {
        return [
            'topics' => 'array',
            'configuration' => 'array',
            'consent_at' => 'datetime',
            'customer_copy_sent_at' => 'datetime',
            'handled_at' => 'datetime',
        ];
    }
}
