<?php

namespace App\Models;

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

class Wing extends Model
{
    use HasFactory;

    protected $fillable = [
        'name',
        'no_floors',
        'no_flats',
        'no_lifts',
        'fire_extinguisher_date',
    ];


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