PersonalEvent

final class PersonalEvent : Model, Searchable, @unchecked Sendable
extension PersonalEvent: Reportable

A PersonalEvent that a user has added to their calendar, and optionally invited select users to also have in their calendars.

Properties

  • id

    The event’s ID.

    Declaration

    Swift

    @PersonalEvent
    .ID var id: UUID? { get set }
  • The title of the event.

    Declaration

    Swift

    @PersonalEvent
    .Field var title: String { get set }
  • A description of the event.

    Declaration

    Swift

    @PersonalEvent
    .Field var description: String? { get set }
  • The start time of the event.

    Declaration

    Swift

    @PersonalEvent
    .Field var startTime: Date { get set }
  • The end time of the event.

    Declaration

    Swift

    @PersonalEvent
    .Field var endTime: Date { get set }
  • The location of the event.

    Declaration

    Swift

    @PersonalEvent
    .Field var location: String? { get set }
  • An ordered list of participants in the event. Newly joined members are

    Declaration

    Swift

    @PersonalEvent
    .Field var participantArray: [UUID] { get set }
  • Moderators can set several statuses on fezPosts that modify editability and visibility.

    Declaration

    Swift

    @PersonalEvent
    .Enum var moderationStatus: ContentModerationStatus { get set }
  • Timestamp of the model’s creation, set automatically.

    Declaration

    Swift

    @PersonalEvent
    .Timestamp var createdAt: Date? { get set }
  • Timestamp of the model’s last update, set automatically.

    Declaration

    Swift

    @PersonalEvent
    .Timestamp var updatedAt: Date? { get set }
  • Timestamp of the model’s soft-deletion, set automatically.

    Declaration

    Swift

    @PersonalEvent
    .Timestamp var deletedAt: Date? { get set }

Relations

Initialization