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

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

Example:
    BILLING_SETTING_NAME=value

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


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

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

    model_config = {"env_prefix": "BILLING_", "env_file": ".env", "extra": "ignore"}


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