nuevos atributos

This commit is contained in:
Alejandro Tasistro 2024-03-12 17:52:52 -03:00
parent bda994bc69
commit 908ee6a496
1 changed files with 9 additions and 0 deletions

View File

@ -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.
*/