nuevos atributos
This commit is contained in:
parent
bda994bc69
commit
908ee6a496
|
@ -7,6 +7,15 @@
|
|||
|
||||
class Producto extends Model
|
||||
{
|
||||
/**
|
||||
* The attributes that are mass assignable.
|
||||
*
|
||||
* @var array<int, string>
|
||||
*/
|
||||
protected $fillable = [
|
||||
'name', 'price', 'solidario', 'bono'
|
||||
];
|
||||
|
||||
/**
|
||||
* La categoría a la que pertenece el producto.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue