<?php

declare(strict_types=1);

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class TrialBooking extends Model
{
    protected $table = 'trial_bookings';

    protected $fillable = [
        'name',
        'phone',
        'goal',
        'availability',
        'level',
        'has_experience',
        'notes',
        'ip',
        'user_agent',
    ];

    protected function casts(): array
    {
        return [
            'availability' => 'array',
        ];
    }
}
