service_man/api/application/contracts/user/user_response.py

8 lines
109 B
Python

from dataclasses import dataclass
@dataclass(frozen=True)
class UserResponse:
name: str
email: str