<filename>app/routes/businesses/service/business_trends/dto/platform_index_trend_output.py
from pydantic import BaseModel
from fastapi.param_functions import Form, Body
from typing import Optional
import datetime


class PlatformIndexTrendOutput(BaseModel):
    google_news_platform_index: float
    date: str
<filename>app/routes/businesses/service/business_trends/dto/platform_index_trend_output.py
from pydantic import BaseModel
from fastapi.param_functions import Form, Body
from typing import Optional
import datetime


class PlatformIndexTrendOutput(BaseModel):
    google_news_platform_index: float
    date: str