update
This commit is contained in:
@@ -9,24 +9,14 @@ class Proveedor extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
/**
|
||||
* The attributes that are mass assignable.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $fillable = [
|
||||
'nombre',
|
||||
'contacto',
|
||||
'nit',
|
||||
'categoria',
|
||||
'telefono',
|
||||
'correo',
|
||||
'direccion',
|
||||
];
|
||||
|
||||
/**
|
||||
* The attributes that should be cast to native types.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $casts = [
|
||||
'id' => 'integer',
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user