<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Attributes\Fillable;
use Illuminate\Database\Eloquent\Model;

#[Fillable(['name', 'code', 'address', 'phone', 'whatsapp_number', 'is_active'])]
class Branch extends Model
{
    protected function casts(): array
    {
        return ['is_active' => 'boolean'];
    }
}
