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.custom.fund.history.CustomFundHistoryDto;
import com.crm.rely.backend.model.entity.custom.fund.history.CustomFundHistoryAddEntity;
import com.crm.rely.backend.model.entity.custom.fund.history.CustomFundHistorySearchListEntity;

import java.util.List;

public interface CustomFundHistoryService {

    void add(CustomFundHistoryAddEntity entity) throws ServiceException;

    ResultWithPagerDto<CustomFundHistoryDto> searchPageList(CustomFundHistorySearchListEntity entity) throws ServiceException;

    BaseResultDto<List<CustomFundHistoryDto>> searchList(CustomFundHistorySearchListEntity entity) throws ServiceException;

}
