package com.crm.manager.service;

import com.crm.rely.backend.core.dto.base.ResultWithPagerDto;
import com.crm.rely.backend.core.dto.risk.leverage.group.RiskLeverageGroupDto;
import com.crm.rely.backend.core.entity.base.SingleLongEntity;
import com.crm.rely.backend.core.entity.risk.leverage.group.RiskLeverageGroupAddEntity;
import com.crm.rely.backend.core.entity.risk.leverage.group.RiskLeverageGroupDeleteEntity;
import com.crm.rely.backend.core.entity.risk.leverage.group.RiskLeverageGroupSearchPageEntity;
import com.crm.rely.backend.core.entity.risk.leverage.group.RiskLeverageGroupUpdateEntity;
import com.crm.rely.backend.exception.ServiceException;

public interface RiskLeverageGroupService {

    void add(RiskLeverageGroupAddEntity entity) throws ServiceException;

    void update(RiskLeverageGroupUpdateEntity entity) throws ServiceException;

    void delete(RiskLeverageGroupDeleteEntity entity) throws ServiceException;

    ResultWithPagerDto<RiskLeverageGroupDto> searchPageList(RiskLeverageGroupSearchPageEntity entity) throws ServiceException;

    RiskLeverageGroupDto searchSingle(SingleLongEntity entity) throws ServiceException;
}
