Ergänze das U1-Fachmodell für Inhalt, Paket und Angebot.
Deploy Test / test (push) Successful in 12s
Deploy Test / deploy (push) Failing after 14s

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
LarsandCursor committed 2026-11-15 08:39:02 +01:00
1 parent 2035c46edd
commit 2ded4b7fad
35 files changed
+2115

No files matched your search

+28
View File
@@ -0,0 +1,28 @@
<?php
namespace App\Domain\Catalog;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\HasMany;
class ContentElement extends Model
{
protected $fillable = [
'kind',
'output_class',
'working_title',
'archived_at',
];
protected function casts(): array
{
return [
'archived_at' => 'datetime',
];
}
public function versions(): HasMany
{
return $this->hasMany(ContentElementVersion::class);
}
}