31 lines
668 B
Python
31 lines
668 B
Python
from datetime import datetime
|
|
from uuid import UUID
|
|
|
|
from app.models.report import ReportType
|
|
from app.schemas.base import CamelModel
|
|
|
|
|
|
class ReportCreate(CamelModel):
|
|
report_type: ReportType
|
|
include_summary: bool = True
|
|
include_transactions: bool = True
|
|
include_flow_chart: bool = True
|
|
include_timeline: bool = True
|
|
include_reasons: bool = True
|
|
include_inquiry: bool = False
|
|
include_record_qa: bool = False
|
|
|
|
|
|
class ReportOut(CamelModel):
|
|
id: UUID
|
|
case_id: UUID
|
|
report_type: ReportType
|
|
file_path: str
|
|
version: int
|
|
created_at: datetime
|
|
|
|
|
|
class ReportListOut(CamelModel):
|
|
items: list[ReportOut]
|
|
total: int
|