nuevos atributos

This commit is contained in:
Alejandro Tasistro 2024-03-12 17:52:52 -03:00
parent bda994bc69
commit 908ee6a496

View file

@ -7,6 +7,15 @@ use Illuminate\Database\Eloquent\Model;
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.
*/