package models

type CaseReportFilter struct {
	PartnerCompanyID int64
	Keyword          string
	Status           string
	CaseServiceCode  string
	DateFrom         string
	DateTo           string
	Page             int
	Limit            int
	Offset           int
}

type CaseReportRow struct {
	CaseID          int64  `json:"case_id"`
	CaseNo          string `json:"case_no"`
	ReportedAt      string `json:"reported_at"`
	Status          string `json:"status"`
	CaseServiceCode string `json:"case_service_code"`
	CustomerName    string `json:"customer_name"`
	CustomerPhone   string `json:"customer_phone"`
	VehicleLabel    string `json:"vehicle_label"`
	PartnerRef      string `json:"partner_ref"`
}

type CaseListResult struct {
	Total int64           `json:"total"`
	Page  int             `json:"page"`
	Limit int             `json:"limit"`
	Rows  []CaseReportRow `json:"rows"`
}

type CaseSummary struct {
	TotalCases     int64 `json:"total_cases"`
	CompletedCases int64 `json:"completed_cases"`
	CanceledCases  int64 `json:"canceled_cases"`
	PendingCases   int64 `json:"pending_cases"`
}