from typing import Optional
from app.utils.schemas_utils import CustomModel


class PromotionCompetitorAnalysisCreated(CustomModel):
    # promotion_id : int
    competitor_efforts : dict
    your_store_type : dict
    throughout_the_year : dict
    group_id : int
    
class PromotionCompetitorAnalysisResponse(PromotionCompetitorAnalysisCreated):
    promotion_id : int
    
class PromotionCompetitorAnalysisUpdate(CustomModel):
    promotion_id : Optional[int] = None
    competitor_efforts : Optional[dict] = None
    your_store_type : Optional[dict] = None
    throughout_the_year : Optional[dict] = None 
    group_id : Optional[int] = None