package com.crm.pay.service;

import com.crm.rely.backend.core.dto.base.BaseResultDto;
import com.crm.rely.backend.core.dto.base.ResultWithPagerDto;
import com.crm.rely.backend.core.exception.ServiceException;
import com.crm.rely.backend.model.dto.finance.transfer.FinanceTransferSearchDto;
import com.crm.rely.backend.model.entity.finance.transfer.FinanceTransferAddEntity;
import com.crm.rely.backend.model.entity.finance.transfer.FinanceTransferDeleteEntity;
import com.crm.rely.backend.model.entity.finance.transfer.FinanceTransferSearchEntity;

public interface FinanceTransferService {

    BaseResultDto save(FinanceTransferAddEntity entity) throws ServiceException;

    void delete(FinanceTransferDeleteEntity entity) throws ServiceException;

    ResultWithPagerDto<FinanceTransferSearchDto> searchList(FinanceTransferSearchEntity entity) throws ServiceException;

    FinanceTransferSearchDto searchSingle(Long id) throws ServiceException;
}
