package com.crm.manager.service;

import com.crm.rely.backend.core.dto.account.leverage.AccountLeverageDto;
import com.crm.rely.backend.core.dto.account.leverage.AccountLeverageSearchListDto;
import com.crm.rely.backend.core.dto.base.ResultWithPagerDto;
import com.crm.rely.backend.core.entity.account.leverage.AccountLeverageChangeApproveManagerEntity;
import com.crm.rely.backend.core.entity.account.leverage.AccountLeverageChangeDeleteEntity;
import com.crm.rely.backend.core.entity.account.leverage.AccountLeverageChangeApproveEntity;
import com.crm.rely.backend.core.entity.account.leverage.AccountLeverageChangeSearchEntity;
import com.crm.rely.backend.exception.ServiceException;

public interface AccountLeverageChangeService {

    void approve(AccountLeverageChangeApproveEntity entity) throws ServiceException;

//    void approve(AccountLeverageChangeApproveManagerEntity entity) throws ServiceException;

    void delete(AccountLeverageChangeDeleteEntity entity) throws ServiceException;

    ResultWithPagerDto<AccountLeverageSearchListDto> searchList(AccountLeverageChangeSearchEntity entity) throws ServiceException;

    AccountLeverageSearchListDto searchSingle(Long id) throws ServiceException;
}
