43 lines
799 B
PHP
43 lines
799 B
PHP
|
<?php
|
||
|
|
||
|
namespace Modules\Admin\App\Models\Sat;
|
||
|
|
||
|
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_de_inicio_de_vigencia',
|
||
|
'fecha_de_fin_de_vigencia',
|
||
|
'simbolo',
|
||
|
'is_base',
|
||
|
];
|
||
|
|
||
|
/**
|
||
|
* The attributes that should be cast.
|
||
|
*
|
||
|
* @var array
|
||
|
*/
|
||
|
protected $casts = [
|
||
|
'fecha_de_inicio_de_vigencia' => 'datetime',
|
||
|
'fecha_de_fin_de_vigencia' => 'datetime',
|
||
|
];
|
||
|
}
|