linhnguyen02
init commit
d3530f3
raw
history blame contribute delete
164 Bytes
from pydantic import BaseModel
class UserDto(BaseModel):
id: int
username: str
email: str
model_config = {
"from_attributes": True,
}