Files
Sio-Back/app/Models/VehiculoSucursal.php
SIO Admin de656b70a2 feat: Actualizacion sistema SIO Backend
- Nuevo modulo de historial de cambios (ServicioHistorial)
- Observer para tracking automatico de cambios en servicios
- Correccion de variables auxiliar en ServiciosController
- Actualizacion de configuraciones y migraciones
- Endpoint para consultar historial de cambios

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-17 23:01:55 +00:00

72 lines
1.2 KiB
PHP
Executable File

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class VehiculoSucursal extends Model
{
/**
* The table associated with the model.
*
* @var string
*/
protected $table = 'vehiculos_sucursales';
/**
* The table primary key.
*
* @var string
*/
//protected $primaryKey = 'id';
/**
* The attributes that should be casted to native types.
*
* @var array
*/
protected $casts = [];
/**
* Indicates if the primary key is autoincrement.
*
* @var bool
*/
public $incrementing = false;
/**
* Indicates if the model should be timestamped.
*
* @var bool
*/
public $timestamps = false;
/**
* The attributes that should be filleable for arrays.
*
* @var array
*
* $guarded = [] or $filleable = []
*/
protected $guarded = [];
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = [
'vehiculo_id', 'sucursal_id'
];
/**
* The attributes that should be hidden for arrays.
*
* @var array
*/
protected $hidden = [
//
];
}