<?php

namespace App\Models;

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

class RouteType extends Model
{
    use HasFactory;

    protected $fillable = ['code', 'name', 'is_mountainous', 'is_hard_path', 'is_international', 'is_active'];

    protected $casts = [
        'is_mountainous' => 'boolean',
        'is_hard_path' => 'boolean',
        'is_international' => 'boolean',
        'is_active' => 'boolean',
    ];
}
