start
This commit is contained in:
12
backend/app/schemas/photo.py
Normal file
12
backend/app/schemas/photo.py
Normal file
@@ -0,0 +1,12 @@
|
||||
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
|
||||
Reference in New Issue
Block a user