parent
4586164016
commit
c8b31d8e3f
7 changed files with 33 additions and 15 deletions
|
|
@ -1,5 +1,6 @@
|
|||
from fastapi import Query
|
||||
from pydantic import BaseModel
|
||||
from typing import Optional
|
||||
|
||||
|
||||
class CreateEvent(BaseModel):
|
||||
|
|
@ -39,5 +40,6 @@ class Ticket(BaseModel):
|
|||
name: str
|
||||
email: str
|
||||
registered: bool
|
||||
reg_timestamp: Optional[int]
|
||||
paid: bool
|
||||
time: int
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue