Das System ist seit 20.07.2026 live; die dev-Doku spiegelt jetzt den Betriebszustand statt der Release-Vorbereitung: - dev/betrieb/: Deploy-Runbook (neu: §10 Betrieb nach Go-Live mit SFTP-Deploy-Checkliste inkl. queue:restart-Pflicht und den Betriebs-Erkenntnissen der Go-Live-Woche), Legacy-API-Parität, Umami. - dev/roadmap.md: offene Nachlauf-Punkte (Go-Live-Mails, Merge nach main, Stripe-Test-Artefakte, Key-Rotation, Alt-System-Abschaltung) und Ideen-Backlog. - dev/archive/: abgeschlossene Phasen — Migration-2026-Planung, Cutover-Runbook (mit Erledigt-Vermerk), Release-Plan/QA-Checkliste, Optimierungsphasen, Frontend-Konzepte + Responsive-Audits vom 16.07., Altsystem-Reste. - dev/README.md als Wegweiser; gitignore-Pfad der SQL-Dumps mitgezogen (dev/archive/migration-2026/sql/ bleibt untracked, ebenso dev/migration/ und dev/api/). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
59 lines
1.7 KiB
PHP
59 lines
1.7 KiB
PHP
<?php
|
|
|
|
/**
|
|
* Created by Reliese Model.
|
|
*/
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Collection;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
/**
|
|
* Class PromotionLink
|
|
*
|
|
* @property int $id
|
|
* @property string $title
|
|
* @property string $link
|
|
* @property string $language
|
|
* @property int|null $show_on_homepage
|
|
* @property int|null $press_release_id
|
|
* @property Collection|Category[] $categories
|
|
* @property-read int|null $categories_count
|
|
*
|
|
* @method static \Illuminate\Database\Eloquent\Builder|PromotionLink newModelQuery()
|
|
* @method static \Illuminate\Database\Eloquent\Builder|PromotionLink newQuery()
|
|
* @method static \Illuminate\Database\Eloquent\Builder|PromotionLink query()
|
|
* @method static \Illuminate\Database\Eloquent\Builder|PromotionLink whereId($value)
|
|
* @method static \Illuminate\Database\Eloquent\Builder|PromotionLink whereLanguage($value)
|
|
* @method static \Illuminate\Database\Eloquent\Builder|PromotionLink whereLink($value)
|
|
* @method static \Illuminate\Database\Eloquent\Builder|PromotionLink wherePressReleaseId($value)
|
|
* @method static \Illuminate\Database\Eloquent\Builder|PromotionLink whereShowOnHomepage($value)
|
|
* @method static \Illuminate\Database\Eloquent\Builder|PromotionLink whereTitle($value)
|
|
*
|
|
* @mixin \Eloquent
|
|
*/
|
|
class PromotionLink extends Model
|
|
{
|
|
protected $table = 'promotion_link';
|
|
|
|
public $timestamps = false;
|
|
|
|
protected $casts = [
|
|
'show_on_homepage' => 'int',
|
|
'press_release_id' => 'int',
|
|
];
|
|
|
|
protected $fillable = [
|
|
'title',
|
|
'link',
|
|
'language',
|
|
'show_on_homepage',
|
|
'press_release_id',
|
|
];
|
|
|
|
public function categories()
|
|
{
|
|
return $this->belongsToMany(Category::class, 'promotion_link_category');
|
|
}
|
|
}
|