<?php

namespace App\Models\Universal;

use Illuminate\Database\Eloquent\Model;

class UniversalSucursal extends Model
{
    protected $connection = 'universal';

    protected $table = 'sucursales';

    protected $primaryKey = 'id_sucursal';

    public $incrementing = true;

    protected $keyType = 'int';

    public $timestamps = false;

    protected $guarded = [];

    protected function casts(): array
    {
        return [
            'is_active' => 'boolean',
            'location_4shop_id' => 'integer',
        ];
    }
}
