from pydantic import BaseModel
from typing import List


class DiscountReportRow(BaseModel):
    discount_name: str
    discount_type: str
    discount_applied: int
    discount_amount_total: float


class DiscountReportResponse(BaseModel):
    rows: List[DiscountReportRow]
    total_amount: float


class DiscountReportSummaryResponse(BaseModel):
    total_discounts_applied: int
    total_amount_discounted: float
