ContentStatus::class, 'target_date' => 'date', 'posted_date' => 'date', ]; public function client(): BelongsTo { return $this->belongsTo(Client::class); } public function getPlatformIconAttribute(): string { return match($this->platform) { 'instagram' => '📸', 'tiktok' => '🎵', 'youtube' => '▶️', default => '📱', }; } }