initial commit

This commit is contained in:
Antigravity
2026-11-18 18:06:22 +05:30
commit 13556aa423
229 changed files with 58732 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
from datetime import datetime
from typing import Optional
from pydantic import BaseModel, ConfigDict
class AttachmentOut(BaseModel):
model_config = ConfigDict(from_attributes=True)
id: int
entity_type: str
entity_id: int
original_name: str
mime_type: str
size_bytes: int
uploaded_by_id: int
uploaded_by_name: Optional[str] = None
uploaded_at: datetime
class AttachmentListOut(BaseModel):
items: list[AttachmentOut]
total: int