EventFeedback

final class EventFeedback : Model, @unchecked Sendable

A feedback report from a Shadow Event Host.

THO asks those who host shadow events to fill out a feedback form after their event to tell THO how their event went. This is the db model that stores that data.

See

See Also: EventFeedbackData the POST data containg the web form contents

See

See Also: EventFeedbackReport feedback data returned by several API calls

Properties

  • id

    The ID for this feedback response.

    Declaration

    Swift

    @EventFeedback
    .ID var id: UUID? { get set }
  • Name of the person who authored the feedback

    Declaration

    Swift

    @EventFeedback
    .Field var responderName: String { get set }
  • Title of the event that the feedback is referring to. Often sourced from the linked Event itself.

    Declaration

    Swift

    @EventFeedback
    .Field var eventName: String { get set }
  • Location of the event that the feedback is referring to.

    Declaration

    Swift

    @EventFeedback
    .Field var eventLocation: String { get set }
  • Start time of the event that the feedback is referring to.

    Declaration

    Swift

    @EventFeedback
    .Field var eventStartTime: Date { get set }
  • The respondent’s estimate of the event attendance. Could be a range, or “about 60, idk” so field is a string.

    Declaration

    Swift

    @EventFeedback
    .Field var attendance: String { get set }
  • User’s answer to the “How did it go?” feedback question.

    Declaration

    Swift

    @EventFeedback
    .Field var recapField: String { get set }
  • User’s answer to the “Any issues?” feedback question.

    Declaration

    Swift

    @EventFeedback
    .Field var issuesField: String { get set }
  • For those able to view feedback reports. TRUE marks this report as containing something that needs to be dealt with. The flag is global; not per-user like ‘favorite’ flags. Not intended to be a full task-management system.

    Declaration

    Swift

    @EventFeedback
    .Field var actionable: Bool { get set }
  • Timestamp of the model’s creation, set automatically.

    Declaration

    Swift

    @EventFeedback
    .Timestamp var createdAt: Date? { get set }
  • Timestamp of the model’s last update, except for changes to the ‘actionable’ field. NOT set automatically.

    Declaration

    Swift

    @EventFeedback
    .Timestamp var updatedAt: Date? { get set }

Relations

  • The author of the feedback

    Declaration

    Swift

    @EventFeedback
    .Parent var author: User { get set }
  • The event the feedback refers to; optional as future versions may not require linking to an event on the public schedule

    Declaration

    Swift

    @EventFeedback
    .OptionalParent var event: Event? { get set }

Initialization