# !/usr/bin/env python
# -*-coding:utf-8 -*-

"""
# Time       ：2025/12/22 21:38
# Author     ：Maxwell
# Description：
"""
from .base import BaseConfig
from .db_relation import DatabaseConfig
from .db_cache import RedisConfig
from .db_vector import VectorDBConfig
from .mq import MessageQueueConfig


class Settings(
    BaseConfig,
    DatabaseConfig,
    RedisConfig,
    VectorDBConfig,
    MessageQueueConfig,
):
    """
    应用配置（合并所有配置）

    继承顺序：
    1. BaseConfig - 基础配置
    2. DatabaseConfig - 数据库配置
    3. RedisConfig - Redis 配置
    4. VectorDBConfig - 向量数据库配置
    5. MessageQueueConfig - 消息队列配置
    """
    class Config:
        env_file = ".env"
        env_file_encoding = "utf-8"
        case_sensitive = False
        extra = "ignore"


settings = Settings()
