package com.crm.manager.service;

import com.crm.rely.backend.core.dto.base.ResultWithPagerDto;
import com.crm.rely.backend.core.dto.risk.revoke.credit.rule.group.RiskRevokeCreditRuleGroupDto;
import com.crm.rely.backend.core.entity.base.SingleLongEntity;
import com.crm.rely.backend.core.entity.risk.revoke.credit.rule.group.RiskRevokeCreditRuleGroupAddEntity;
import com.crm.rely.backend.core.entity.risk.revoke.credit.rule.group.RiskRevokeCreditRuleGroupDeleteEntity;
import com.crm.rely.backend.core.entity.risk.revoke.credit.rule.group.RiskRevokeCreditRuleGroupSearchPageEntity;
import com.crm.rely.backend.core.entity.risk.revoke.credit.rule.group.RiskRevokeCreditRuleGroupUpdateEntity;
import com.crm.rely.backend.exception.ServiceException;

public interface RiskRevokeCreditRuleGroupService {

    void add(RiskRevokeCreditRuleGroupAddEntity entity) throws ServiceException;

    void update(RiskRevokeCreditRuleGroupUpdateEntity entity) throws ServiceException;

    void delete(RiskRevokeCreditRuleGroupDeleteEntity entity) throws ServiceException;

    ResultWithPagerDto<RiskRevokeCreditRuleGroupDto> searchPageList(RiskRevokeCreditRuleGroupSearchPageEntity entity) throws ServiceException;

    RiskRevokeCreditRuleGroupDto searchSingle(SingleLongEntity entity) throws ServiceException;
}
