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

15 lines
211 B
Python

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