Files
shanxia2.0/backend/app/schemas/attachment.py
T
2026-05-17 08:36:37 +08:00

14 lines
328 B
Python

from pydantic import BaseModel, ConfigDict
from typing import Optional
class AttachmentUploadResponse(BaseModel):
model_config = ConfigDict(from_attributes=True)
id: str
fileName: str
fileUrl: str
fileSize: Optional[int] = None
fileSizeDisplay: Optional[str] = None
fileType: Optional[str] = None