service_man/api/schemas/user_schema.py

10 lines
136 B
Python
Raw Normal View History

2024-03-29 00:29:35 +03:00
from dataclasses import dataclass
2024-03-06 03:59:16 +03:00
2024-03-29 00:29:35 +03:00
# from uuid import UUID
2024-03-06 03:59:16 +03:00
2024-03-11 21:07:01 +03:00
2024-03-29 00:29:35 +03:00
@dataclass(frozen=True)
class UserRequestDTO:
name: str
email: str