package com.gxwebsoft.cms.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gxwebsoft.common.core.web.PageResult;
import com.gxwebsoft.cms.entity.CmsAppSetting;
import com.gxwebsoft.cms.param.CmsAppSettingParam;

import java.util.List;

/**
 * 网站设置Service
 *
 * @author 科技小王子
 * @since 2025-02-19 01:35:44
 */
public interface CmsAppSettingService extends IService<CmsAppSetting> {

    /**
     * 分页关联查询
     *
     * @param param 查询参数
     * @return PageResult<CmsAppSetting>
     */
    PageResult<CmsAppSetting> pageRel(CmsAppSettingParam param);

    /**
     * 关联查询全部
     *
     * @param param 查询参数
     * @return List<CmsAppSetting>
     */
    List<CmsAppSetting> listRel(CmsAppSettingParam param);

    /**
     * 根据id查询
     *
     * @param id 自增ID
     * @return CmsAppSetting
     */
    CmsAppSetting getByIdRel(Integer id);

}
