Öffne Katalog, Bibliothek und Testkauf für den MVP.
Deploy Test / test (push) Successful in 12s
Deploy Test / deploy (push) Successful in 21s

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
LarsandCursor committed 2026-11-15 09:04:08 +01:00
1 parent 463851d402
commit fd6860efda
51 files changed
+2331 -31

No files matched your search

+34
View File
@@ -0,0 +1,34 @@
<?php
namespace App\Domain\Entitlement;
use App\Domain\Catalog\Offer;
use App\Domain\Identity\Party;
use App\Models\User;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
class ManualGrant extends Model
{
protected $fillable = [
'actor_id',
'party_id',
'offer_id',
'reason',
];
public function actor(): BelongsTo
{
return $this->belongsTo(User::class, 'actor_id');
}
public function party(): BelongsTo
{
return $this->belongsTo(Party::class);
}
public function offer(): BelongsTo
{
return $this->belongsTo(Offer::class);
}
}