service_man/api/schemas/user_schema.py

10 lines
131 B
Python
Raw Normal View History

2024-03-11 21:07:01 +03:00
from . import ReadDTO, WriteDTO
2024-03-06 03:59:16 +03:00
2024-03-11 21:07:01 +03:00
class UserWriteDTO(WriteDTO):
2024-03-06 03:59:16 +03:00
name: str
2024-03-11 21:07:01 +03:00
class UserReadDTO(ReadDTO, UserWriteDTO):
pass