38 lines
706 B
PHP
38 lines
706 B
PHP
|
<?php
|
||
|
|
||
|
namespace Modules\Admin\App\Models\Sat;
|
||
|
|
||
|
use Illuminate\Database\Eloquent\Model;
|
||
|
|
||
|
class Deduccion extends Model
|
||
|
{
|
||
|
/**
|
||
|
* The table associated with the model.
|
||
|
*
|
||
|
* @var string
|
||
|
*/
|
||
|
protected $table = 'sat_deduccion';
|
||
|
|
||
|
/**
|
||
|
* The attributes that are mass assignable.
|
||
|
*
|
||
|
* @var string[]
|
||
|
*/
|
||
|
protected $fillable = [
|
||
|
'c_deduccion',
|
||
|
'descripcion',
|
||
|
'fecha_inicio_de_vigencia',
|
||
|
'fecha_fin_de_vigencia',
|
||
|
];
|
||
|
|
||
|
/**
|
||
|
* The attributes that should be cast.
|
||
|
*
|
||
|
* @var array
|
||
|
*/
|
||
|
protected $casts = [
|
||
|
'fecha_inicio_de_vigencia' => 'datetime',
|
||
|
'fecha_fin_de_vigencia' => 'datetime',
|
||
|
];
|
||
|
}
|