<?php namespace Modules\Admin\App\Models\Sat; use Illuminate\Database\Eloquent\Model; class Localidad extends Model { /** * The table associated with the model. * * @var string */ protected $table = 'sat_localidad'; /** * The attributes that are mass assignable. * * @var string[] */ protected $fillable = [ 'c_localidad', 'c_estado', 'descripcion', 'fecha_de_inicio_de_vigencia', 'fecha_de_fin_de_vigencia', ]; /** * The attributes that should be cast. * * @var array */ protected $casts = [ 'fecha_de_inicio_de_vigencia' => 'datetime', 'fecha_de_fin_de_vigencia' => 'datetime', ]; }