Carga inicial
This commit is contained in:
71
app/Models/ClienteDatoFiscal.php
Normal file
71
app/Models/ClienteDatoFiscal.php
Normal file
@@ -0,0 +1,71 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class ClienteDatoFiscal extends Model
|
||||
{
|
||||
/**
|
||||
* The table associated with the model.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $table = 'clientes_datos_fiscales';
|
||||
|
||||
/**
|
||||
* The table primary key.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $primaryKey = 'id';
|
||||
|
||||
/**
|
||||
* The attributes that should be casted to native types.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $casts = [];
|
||||
|
||||
/**
|
||||
* Indicates if the primary key is autoincrement.
|
||||
*
|
||||
* @var bool
|
||||
*/
|
||||
public $incrementing = true;
|
||||
|
||||
/**
|
||||
* Indicates if the model should be timestamped.
|
||||
*
|
||||
* @var bool
|
||||
*/
|
||||
public $timestamps = true;
|
||||
|
||||
/**
|
||||
* The attributes that should be filleable for arrays.
|
||||
*
|
||||
* @var array
|
||||
*
|
||||
* $guarded = [] or $filleable = []
|
||||
*/
|
||||
|
||||
protected $guarded = [];
|
||||
|
||||
/**
|
||||
* The attributes that are mass assignable.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $fillable = [
|
||||
'cliente_id', 'razon_social', 'rfc', 'email', 'calle', 'num_ext', 'num_int', 'colonia', 'localidad', 'municipio', 'estado', 'pais', 'cp', 'factura_uso_cfdi_id', 'factura_tipo_comprobante_id', 'factura_metodos_pago_id', 'factura_formas_pago_id', 'condicion_pago', 'retencion_iva', 'observacion'
|
||||
];
|
||||
|
||||
/**
|
||||
* The attributes that should be hidden for arrays.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $hidden = [
|
||||
//
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user