package com.crm.manager.service;

import com.crm.rely.backend.core.dto.account.investor.AccountInvestorPasswordChangeDto;
import com.crm.rely.backend.core.dto.base.ResultWithPagerDto;
import com.crm.rely.backend.core.entity.account.investor.AccountInvestorPasswordChangeApproveEntity;
import com.crm.rely.backend.core.entity.account.investor.AccountInvestorPasswordChangeApproveManagerEntity;
import com.crm.rely.backend.core.entity.account.investor.AccountInvestorPasswordChangeDeleteEntity;
import com.crm.rely.backend.core.entity.account.investor.AccountInvestorPasswordChangeSearchEntity;
import com.crm.rely.backend.exception.ServiceException;

public interface AccountInvestorPasswordChangeService {

    void approve(AccountInvestorPasswordChangeApproveEntity entity) throws ServiceException;

    void approve(AccountInvestorPasswordChangeApproveManagerEntity entity) throws ServiceException;

    void delete(AccountInvestorPasswordChangeDeleteEntity entity) throws ServiceException;

    ResultWithPagerDto<AccountInvestorPasswordChangeDto> searchList(AccountInvestorPasswordChangeSearchEntity entity) throws ServiceException;

    AccountInvestorPasswordChangeDto searchSingle(Long id) throws ServiceException;
}
