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
Showing only changes of commit 908ee6a496 - Show all commits

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