from pydantic import BaseModel from datetime import date from typing import List from App.routers.tasks.schemas import ResponseModel class UTTFundResponse(BaseModel): id: int symbol: str name: str class UTTFundDataResponse(BaseModel): date: date nav_per_unit: float sale_price_per_unit: float repurchase_price_per_unit: float outstanding_number_of_units: int net_asset_value: int class UTTFundListResponse(BaseModel): fund: UTTFundResponse data: List[UTTFundDataResponse]