package com.njcn.gather.systemops.database.service.impl;

import com.njcn.gather.systemops.database.pojo.vo.DatabaseOverviewVO;
import com.njcn.gather.systemops.database.service.DatabaseService;
import org.springframework.stereotype.Service;

/**
 * 数据库监控基础服务实现。
 */
@Service
public class DatabaseServiceImpl implements DatabaseService {

    private static final String STATUS_READY = "READY";

    @Override
    public DatabaseOverviewVO overview() {
        DatabaseOverviewVO result = new DatabaseOverviewVO();
        result.setMenuName("数据库监控");
        result.setMenuCode("database");
        result.setPath("/systemOps/database");
        result.setStatus(STATUS_READY);
        result.setDescription("数据库监控基础入口已接入，后续可在此扩展连接状态、容量和性能指标。");
        return result;
    }
}
