package com.crm.manager.service;

import com.crm.rely.backend.core.dto.base.ResultWithPagerDto;
import com.crm.rely.backend.core.dto.risk.leverage.login.RiskLeverageLoginDto;
import com.crm.rely.backend.core.entity.base.SingleLongEntity;
import com.crm.rely.backend.core.entity.risk.leverage.login.RiskLeverageLoginAddEntity;
import com.crm.rely.backend.core.entity.risk.leverage.login.RiskLeverageLoginDeleteEntity;
import com.crm.rely.backend.core.entity.risk.leverage.login.RiskLeverageLoginSearchPageEntity;
import com.crm.rely.backend.core.entity.risk.leverage.login.RiskLeverageLoginUpdateEntity;
import com.crm.rely.backend.exception.ServiceException;

public interface RiskLeverageLoginService {

    void add(RiskLeverageLoginAddEntity entity) throws ServiceException;

    void update(RiskLeverageLoginUpdateEntity entity) throws ServiceException;

    void delete(RiskLeverageLoginDeleteEntity entity) throws ServiceException;

    ResultWithPagerDto<RiskLeverageLoginDto> searchPageList(RiskLeverageLoginSearchPageEntity entity) throws ServiceException;

    RiskLeverageLoginDto searchSingle(SingleLongEntity entity) throws ServiceException;
}
