101 lines
1,015 B
Python
101 lines
1,015 B
Python
import enum
|
|
|
|
|
|
|
|
|
|
|
|
class EventType(str, enum.Enum):
|
|
|
|
holi = "holi"
|
|
|
|
garba = "garba"
|
|
|
|
dandiya = "dandiya"
|
|
|
|
bhajan_clubbing = "bhajan_clubbing"
|
|
|
|
special = "special"
|
|
|
|
|
|
|
|
|
|
|
|
class PlatformKind(str, enum.Enum):
|
|
|
|
bookmyshow = "bookmyshow"
|
|
|
|
district = "district"
|
|
|
|
instagram = "instagram"
|
|
|
|
highape = "highape"
|
|
|
|
youtube = "youtube"
|
|
|
|
whatsapp = "whatsapp"
|
|
|
|
website = "website"
|
|
|
|
other = "other"
|
|
|
|
|
|
|
|
|
|
|
|
class AdminRole(str, enum.Enum):
|
|
|
|
super_admin = "super_admin"
|
|
|
|
editor = "editor"
|
|
|
|
|
|
|
|
|
|
|
|
class EventStatus(str, enum.Enum):
|
|
|
|
draft = "draft"
|
|
|
|
published = "published"
|
|
|
|
cancelled = "cancelled"
|
|
|
|
|
|
|
|
|
|
|
|
class TicketTypeStatus(str, enum.Enum):
|
|
|
|
active = "active"
|
|
|
|
sold_out = "sold_out"
|
|
|
|
inactive = "inactive"
|
|
|
|
|
|
|
|
|
|
|
|
class OrderStatus(str, enum.Enum):
|
|
|
|
pending = "pending"
|
|
|
|
paid = "paid"
|
|
|
|
cancelled = "cancelled"
|
|
|
|
failed = "failed"
|
|
|
|
|
|
|
|
|
|
|
|
class TicketStatus(str, enum.Enum):
|
|
|
|
valid = "valid"
|
|
|
|
used = "used"
|
|
|
|
cancelled = "cancelled"
|
|
|
|
|