feature/modelos-y-migraciones #3

Merged
rho merged 28 commits from feature/modelos-y-migraciones into master 2024-03-14 16:34:44 -03:00
1 changed files with 9 additions and 0 deletions
Showing only changes of commit 908ee6a496 - Show all commits

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