Soft Delete

This commit is contained in:
gianella
2026-05-27 19:30:33 -03:00
parent 82e550d923
commit 1f07d1b53f
7 changed files with 81 additions and 8 deletions
+2
View File
@@ -4,10 +4,12 @@ namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
class Product extends Model
{
use HasFactory;
use SoftDeletes;
protected $fillable = [
'name',
'description',