13 lines
210 B
Python
13 lines
210 B
Python
import uuid
|
|
|
|
from pydantic import BaseModel, ConfigDict
|
|
|
|
|
|
class PhotoRead(BaseModel):
|
|
model_config = ConfigDict(from_attributes=True)
|
|
|
|
id: uuid.UUID
|
|
url: str
|
|
content_type: str
|
|
position: int
|