enum EventStatus { DRAFT ACTIVE PENDING ASSIGNED CONFIRMED COMPLETED CANCELED } enum RecurrenceType { SINGLE DATE_RANGE SCATTER } type Event @table(name: "events") { id: UUID! @default(expr: "uuidV4()") eventName: String! isRecurring: Boolean! recurrenceType: RecurrenceType businessId: UUID! vendorId: UUID status: EventStatus! date: Timestamp! shifts: String @col(dataType: "jsonb") total: Float requested: Int assignedStaff: String @col(dataType: "jsonb") createdDate: Timestamp @default(expr: "request.time") updatedDate: Timestamp @default(expr: "request.time") createdBy: String }