KaraokePlayedSong

final class KaraokePlayedSong : Model, @unchecked Sendable

This is the object a Karaoke Manager makes when they log a karaoke performance in the Karaoke Lounge.

The played song is related to a song in the Karaoke Library, and the Manager records the name(s) of the karaoke singer(s). A timestamp is added automatically.

  • Declaration

    Swift

    static let schema: String
  • id

    The song’s ID, provisioned automatically.

    Declaration

    Swift

    @KaraokePlayedSong
    .ID var id: UUID? { get set }
  • Who sung the song. Freeform; if multiple people sang the song onstage together, multiple names may be entered. @username tags may be used if the singers have Twit-arr accounts.

    Declaration

    Swift

    @KaraokePlayedSong
    .Field var performers: String { get set }
  • Timestamp of the model’s creation, set automatically.

    Declaration

    Swift

    @KaraokePlayedSong
    .Timestamp var createdAt: Date? { get set }

Relations

Initialization