Paket 2: konfigurierbare Inhaltsart an Identitaet
Deploy Test / test (push) Failing after 8s
Deploy Test / deploy (push) Skipped

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
LarsandCursor committed 2026-11-16 06:56:47 +01:00
1 parent 7820bececb
commit 1a2b1298b5
8 files changed
+233 -1

No files matched your search

+7
View File
@@ -3,6 +3,7 @@
namespace App\Domain\Catalog;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
use Illuminate\Database\Eloquent\Relations\BelongsToMany;
use Illuminate\Database\Eloquent\Relations\HasMany;
@@ -13,6 +14,7 @@ class ContentElement extends Model
'output_class',
'working_title',
'description',
'editorial_content_kind_id',
'archived_at',
];
@@ -23,6 +25,11 @@ protected function casts(): array
];
}
public function editorialContentKind(): BelongsTo
{
return $this->belongsTo(EditorialContentKind::class);
}
public function versions(): HasMany
{
return $this->hasMany(ContentElementVersion::class);