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.login.RiskRevokeCreditRuleLoginDto;
import com.crm.rely.backend.core.entity.base.SingleLongEntity;
import com.crm.rely.backend.core.entity.risk.revoke.credit.rule.login.RiskRevokeCreditRuleLoginAddEntity;
import com.crm.rely.backend.core.entity.risk.revoke.credit.rule.login.RiskRevokeCreditRuleLoginDeleteEntity;
import com.crm.rely.backend.core.entity.risk.revoke.credit.rule.login.RiskRevokeCreditRuleLoginSearchPageEntity;
import com.crm.rely.backend.core.entity.risk.revoke.credit.rule.login.RiskRevokeCreditRuleLoginUpdateEntity;
import com.crm.rely.backend.exception.ServiceException;

public interface RiskRevokeCreditRuleLoginService {

    void add(RiskRevokeCreditRuleLoginAddEntity entity) throws ServiceException;

    void update(RiskRevokeCreditRuleLoginUpdateEntity entity) throws ServiceException;

    void delete(RiskRevokeCreditRuleLoginDeleteEntity entity) throws ServiceException;

    ResultWithPagerDto<RiskRevokeCreditRuleLoginDto> searchPageList(RiskRevokeCreditRuleLoginSearchPageEntity entity) throws ServiceException;

    RiskRevokeCreditRuleLoginDto searchSingle(SingleLongEntity entity) throws ServiceException;
}
