fix: schemas + states
This commit is contained in:
14
schemas/users.py
Normal file
14
schemas/users.py
Normal file
@@ -0,0 +1,14 @@
|
||||
from dataclasses import dataclass
|
||||
from typing import Optional
|
||||
|
||||
|
||||
@dataclass
|
||||
class NewUserDTO:
|
||||
id: int
|
||||
referal: int
|
||||
|
||||
|
||||
@dataclass
|
||||
class TicketCreator:
|
||||
id: int
|
||||
username: Optional[str] = None
|
||||
Reference in New Issue
Block a user