package com.codvision.monitor.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.codvision.monitor.entity.Website;
import com.codvision.monitor.entity.vo.WebsiteVO;
import com.codvision.webcore.bean.QueryPage;
import com.codvision.webcore.service.IBaseService;

/**
 * <p>
 * 站点信息 服务类
 * </p>
 *
 * @author lingee
 * @since 2023-11-20
 */
public interface IWebsiteService extends IBaseService<Website, WebsiteVO> {

    /**
     * 获取站点信息详情
     *
     * @param id
     * @return 站点信息
     */
    WebsiteVO getDetail(Long id);

    /**
     * 分页查询站点信息
     *
     * @param queryPage 分页参数
     * @return 分页结果
     */
    IPage<WebsiteVO> getPageResult(QueryPage<Website> queryPage);
}
