laravel-sat-catalogs/Models/NumPedimentoAduana.php

41 lines
746 B
PHP

<?php
namespace Koneko\SatCatalogs\Models;
use Illuminate\Database\Eloquent\Model;
class NumPedimentoAduana extends Model
{
/**
* The table associated with the model.
*
* @var string
*/
protected $table = 'sat_num_pedimento_aduana';
/**
* The attributes that are mass assignable.
*
* @var string[]
*/
protected $fillable = [
'c_aduana',
'patente',
'ejercicio',
'cantidad',
'fecha_inicio_vigencia',
'fecha_fin_vigencia',
];
/**
* The attributes that should be cast.
*
* @var array
*/
protected $casts = [
'fecha_inicio_vigencia' => 'datetime',
'fecha_fin_vigencia' => 'datetime',
];
}