'integer', 'set_number' => 'integer', 'is_break' => 'boolean', 'break_duration_seconds' => 'integer', ]; } // Relationships public function setlist(): BelongsTo { return $this->belongsTo(Setlist::class); } public function musicNumber(): BelongsTo { return $this->belongsTo(MusicNumber::class); } // Helper methods public function isBreak(): bool { return $this->is_break; } public function formattedBreakDuration(): string { if (!$this->is_break || !$this->break_duration_seconds) { return ''; } $minutes = floor($this->break_duration_seconds / 60); $seconds = $this->break_duration_seconds % 60; return sprintf('%d:%02d', $minutes, $seconds); } }