14 lines
173 B
Python
14 lines
173 B
Python
|
from uuid import UUID
|
||
|
|
||
|
from pydantic import BaseModel
|
||
|
|
||
|
|
||
|
class WriteDTO(BaseModel):
|
||
|
|
||
|
class Config:
|
||
|
from_attributes = True
|
||
|
|
||
|
|
||
|
class ReadDTO(WriteDTO):
|
||
|
id: UUID
|