ifixkart-admin/Backend/app/schemas/ServiceQuoteSchema.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

30 lines
749 B
Python

from pydantic import BaseModel
from typing import Optional
from datetime import datetime
class ServiceJobQuoteCreate(BaseModel):
subtotal: float
tax: float = 0.0
additional_damage_amount: float = 0.0
total: float
reason: Optional[str] = None
expires_at: Optional[datetime] = None
class ServiceJobQuoteResponse(BaseModel):
quote_id: str
service_job_id: str
version: int
subtotal: float
tax: float
additional_damage_amount: float
total: float
status: str
reason: Optional[str]
expires_at: Optional[datetime]
accepted_at: Optional[datetime]
rejected_at: Optional[datetime]
created_by: Optional[str]
created_at: datetime
class Config:
from_attributes = True