package com.jumeirah.common.service;

import com.jumeirah.common.entity.SysNoticeRead;
import com.jumeirah.common.param.SysNoticeReadPageParam;
import io.geekidea.springbootplus.framework.common.service.BaseService;
import com.jumeirah.common.param.SysNoticeReadQueryVo;
import io.geekidea.springbootplus.framework.core.pagination.Paging;

/**
 * 系统通知已读 未读 服务类
 *
 * @author xxx
 * @since 2020-11-06
 */
public interface SysNoticeReadService extends BaseService<SysNoticeRead> {

        /**
         * 保存
         *
         * @param sysNoticeRead
         * @return
         * @throws Exception
         */
        boolean saveSysNoticeRead(SysNoticeRead sysNoticeRead)throws Exception;

        /**
         * 修改
         *
         * @param sysNoticeRead
         * @return
         * @throws Exception
         */
        boolean updateSysNoticeRead(SysNoticeRead sysNoticeRead)throws Exception;

        /**
         * 删除
         *
         * @param id
         * @return
         * @throws Exception
         */
        boolean deleteSysNoticeRead(Long id)throws Exception;

            /**
             * 根据ID获取查询对象
             *
             * @param id
             * @return
             * @throws Exception
             */
        SysNoticeReadQueryVo getSysNoticeReadById(Long id)throws Exception;

        /**
         * 获取分页对象
         *
         * @param sysNoticeReadPageParam
         * @return
         * @throws Exception
         */
        Paging<SysNoticeReadQueryVo> getSysNoticeReadPageList(SysNoticeReadPageParam sysNoticeReadPageParam) throws Exception;

        }
