[FEAT] add timestamp on register (#15)

* add timestamp on register
This commit is contained in:
Tiago Vasconcelos 2023-08-18 07:17:29 +01:00 committed by GitHub
parent 4586164016
commit c8b31d8e3f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 33 additions and 15 deletions

View file

@ -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