package com.crm.manager.service;

import com.crm.rely.backend.core.dto.base.BaseResultDto;
import com.crm.rely.backend.core.dto.base.ResultWithPagerDto;
import com.crm.rely.backend.core.dto.system.push.massage.SysPushMassageSearchDto;
import com.crm.rely.backend.core.dto.system.reasons.refusal.SysReasonsRefusalSearchDto;
import com.crm.rely.backend.core.entity.base.SingleLongEntity;
import com.crm.rely.backend.core.entity.system.push.massage.*;
import com.crm.rely.backend.core.entity.system.reasons.refusal.*;
import com.crm.rely.backend.exception.ServiceException;

import java.util.Map;

public interface SysPushMassageService {

    void add(SysPushMassageAddEntity entity) throws ServiceException;

    void delete(SysPushMassageDeleteEntity entity) throws ServiceException;

    void update(SysPushMassageUpdateEntity entity) throws ServiceException;

    ResultWithPagerDto<SysPushMassageSearchDto> searchPageList(SysPushMassageSearchPageEntity entity) throws ServiceException;

    SysPushMassageSearchDto searchSingle(SingleLongEntity entity) throws ServiceException;

    BaseResultDto<Map<String, SysPushMassageSearchDto>> searchList(SysPushMassageSearchEntity entity) throws ServiceException;
}
