service_man/api/application/contracts/auth/auth_request.py

16 lines
230 B
Python
Raw Normal View History

2024-04-01 12:19:10 +03:00
from dataclasses import dataclass
@dataclass(frozen=True)
class UserCreateRequest:
name: str
2024-04-21 23:46:17 +03:00
last_name: str
2024-04-01 12:19:10 +03:00
email: str
password: str
2024-04-02 22:33:15 +03:00
@dataclass(frozen=True)
class LoginRequest:
email: str
password: str