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

16 lines
230 B
Python

from dataclasses import dataclass
@dataclass(frozen=True)
class UserCreateRequest:
name: str
last_name: str
email: str
password: str
@dataclass(frozen=True)
class LoginRequest:
email: str
password: str