ifixkart-admin/Backend/app/schemas/File.py
Adithiyan bbd3a3e959 feat: initial commit — full platform snapshot
- Backend: FastAPI app with all models, services, schemas, routes
- Admin Panel: Next.js dashboard with all modules
  (CRM, POS, repairs, warranties, billing, notifications, etc.)
- Ecommerce: storefront (submodule) + product catalog
- AI Agents: .agents/ skill library for Antigravity IDE
- Docs: architecture, billing, notification gateway markdown
- Submodules: Backend/OpenWA, Ecommerce/File 2/storefront
2026-10-13 12:59:47 +05:30

27 lines
787 B
Python

from pydantic import BaseModel
from typing import Optional
from datetime import datetime
class FileUploadResponse(BaseModel):
file_id: str
original_name: str
stored_name: Optional[str] = None
mime_type: str
extension: Optional[str] = None
file_size: int
storage_provider: str
storage_path: Optional[str] = None
webp_path: Optional[str] = None
raw_path: Optional[str] = None
thumbnail_path: Optional[str] = None
medium_path: Optional[str] = None
large_path: Optional[str] = None
status: str
entity_type: Optional[str] = None
entity_id: Optional[str] = None
blur_hash: Optional[str] = None
uploaded_by: Optional[str] = None
created_at: Optional[datetime] = None
class Config:
from_attributes = True