KaraokePlayedSong

final class KaraokePlayedSong : Model

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

    @ID
    var id: UUID?
  • 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

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

    Declaration

    Swift

    @Timestamp
    var createdAt: Date?

Relations

Initialization