FezParticipant

final class FezParticipant : Model

A Pivot holding a siblings relation between User and FriendlyFez.

Properties

  • id

    The ID of the pivot.

    Declaration

    Swift

    @ID
    var id: UUID?
  • How many posts in this fez that this user has read. Used by the notification lifecycle and to scroll the post view to show the first unread message.

    Declaration

    Swift

    @Field
    var readCount: Int
  • How many posts in this fez that this user cannot see, due to mutes and blocks.

    Declaration

    Swift

    @Field
    var hiddenCount: Int
  • True if the user has muted this Fez and does not want any notifications. Otherwise this field should be NIL or FALSE.

    Declaration

    Swift

    @Field
    var isMuted: Bool?

Relationships

Initialization