From 908ee6a496a08dcd2932dfef9502a0e4abb4e3b9 Mon Sep 17 00:00:00 2001 From: ale Date: Tue, 12 Mar 2024 17:52:52 -0300 Subject: [PATCH] nuevos atributos --- app/Models/Producto.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/app/Models/Producto.php b/app/Models/Producto.php index 04f935e..64a047a 100644 --- a/app/Models/Producto.php +++ b/app/Models/Producto.php @@ -7,6 +7,15 @@ class Producto extends Model { + /** + * The attributes that are mass assignable. + * + * @var array + */ + protected $fillable = [ + 'name', 'price', 'solidario', 'bono' + ]; + /** * La categoría a la que pertenece el producto. */