use erp_core::events::EventBus;
use sea_orm::DatabaseConnection;

/// 消息中心模块状态，通过 FromRef 从 AppState 提取。
#[derive(Clone)]
pub struct MessageState {
    pub db: DatabaseConnection,
    pub event_bus: EventBus,
}
