laravel-sat-catalogs/Models/ClaveUnidad.php

42 lines
753 B
PHP
Raw Permalink Normal View History

2025-03-10 18:25:41 -06:00
<?php
namespace Koneko\SatCatalogs\Models;
use Illuminate\Database\Eloquent\Model;
class ClaveUnidad extends Model
{
/**
* The table associated with the model.
*
* @var string
*/
protected $table = 'sat_clave_unidad';
/**
* The attributes that are mass assignable.
*
* @var string[]
*/
protected $fillable = [
'c_clave_unidad',
'nombre',
'descripcion',
'nota',
'fecha_inicio_vigencia',
'fecha_fin_vigencia',
'simbolo',
];
/**
* The attributes that should be cast.
*
* @var array
*/
protected $casts = [
'fecha_inicio_vigencia' => 'datetime',
'fecha_fin_vigencia' => 'datetime',
];
}