feat(attachments): implement AttachmentService for managing uploads and deletions, add AttachmentStorageException for error handling

This commit is contained in:
2026-06-25 15:02:52 -03:00
parent 6db98ddc1a
commit aec92d5346
4 changed files with 213 additions and 18 deletions

View File

@@ -2,6 +2,7 @@
namespace App\Domains\Tenant\Models;
use App\Domains\Attachable\Models\Concerns\HasAttachments;
use App\Domains\Catalog\Models\Product;
use Illuminate\Database\Eloquent\Attributes\Fillable;
use Illuminate\Database\Eloquent\Factories\HasFactory;
@@ -17,6 +18,7 @@ use LogicException;
])]
class Tenant extends Model
{
use HasAttachments;
use HasFactory;
/**