package com.crm.manager.service;

import com.crm.rely.backend.core.dto.account.deal.change.AccountDealPasswordChangeDto;
import com.crm.rely.backend.core.dto.base.ResultWithPagerDto;
import com.crm.rely.backend.core.entity.account.deal.change.AccountDealPasswordChangeApproveEntity;
import com.crm.rely.backend.core.entity.account.deal.change.AccountDealPasswordChangeApproveManagerEntity;
import com.crm.rely.backend.core.entity.account.deal.change.AccountDealPasswordChangeDeleteEntity;
import com.crm.rely.backend.core.entity.account.deal.change.AccountDealPasswordChangeSearchEntity;
import com.crm.rely.backend.exception.ServiceException;

public interface AccountDealPasswordChangeService {

    void approve(AccountDealPasswordChangeApproveEntity entity) throws ServiceException;

    void approve(AccountDealPasswordChangeApproveManagerEntity entity) throws ServiceException;

    void delete(AccountDealPasswordChangeDeleteEntity entity) throws ServiceException;

    ResultWithPagerDto<AccountDealPasswordChangeDto> searchList(AccountDealPasswordChangeSearchEntity entity) throws ServiceException;

    AccountDealPasswordChangeDto searchSingle(Long id) throws ServiceException;
}
