first commit
This commit is contained in:
commit
34ea15a54d
246 changed files with 18660 additions and 0 deletions
101
backend/app/models/enums.py
Normal file
101
backend/app/models/enums.py
Normal file
|
|
@ -0,0 +1,101 @@
|
|||
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"
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue