package com.crm.manager.service;

import com.crm.rely.backend.core.dto.account.deal.reset.AccountDealPasswordResetDto;
import com.crm.rely.backend.core.dto.base.ResultWithPagerDto;
import com.crm.rely.backend.core.entity.account.deal.reset.AccountDealPasswordResetApproveEntity;
import com.crm.rely.backend.core.entity.account.deal.reset.AccountDealPasswordResetApproveManagerEntity;
import com.crm.rely.backend.core.entity.account.deal.reset.AccountDealPasswordResetDeleteEntity;
import com.crm.rely.backend.core.entity.account.deal.reset.AccountDealPasswordResetSearchEntity;
import com.crm.rely.backend.exception.ServiceException;

public interface AccountDealPasswordResetService {

    void approve(AccountDealPasswordResetApproveEntity entity) throws ServiceException;

    void approve(AccountDealPasswordResetApproveManagerEntity entity) throws ServiceException;

    void delete(AccountDealPasswordResetDeleteEntity entity) throws ServiceException;

    ResultWithPagerDto<AccountDealPasswordResetDto> searchList(AccountDealPasswordResetSearchEntity entity) throws ServiceException;

    AccountDealPasswordResetDto searchSingle(Long id) throws ServiceException;
}
