service_man/api/schemas/user_schema.py

10 lines
131 B
Python

from . import ReadDTO, WriteDTO
class UserWriteDTO(WriteDTO):
name: str
class UserReadDTO(ReadDTO, UserWriteDTO):
pass