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

15 lines
211 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
email: str
password: str
2024-04-02 22:33:15 +03:00
@dataclass(frozen=True)
class LoginRequest:
email: str
password: str