# app/modules/marketplace/config.py
"""
Module configuration.

Environment-based configuration using Pydantic Settings.
Settings are loaded from environment variables with MARKETPLACE_ prefix.

Example:
    MARKETPLACE_SETTING_NAME=value

Usage:
    from app.modules.marketplace.config import config
    value = config.setting_name
"""
from pydantic_settings import BaseSettings


class ModuleConfig(BaseSettings):
    """Configuration for marketplace module."""

    # Add module-specific settings here
    # Example:
    # api_timeout: int = 30
    # batch_size: int = 100

    model_config = {"env_prefix": "MARKETPLACE_"}


# Export for auto-discovery
config_class = ModuleConfig
config = ModuleConfig()
