package com.crm.manager.service;

import com.crm.rely.backend.core.dto.base.ResultWithPagerDto;
import com.crm.rely.backend.core.dto.custom.free.CustomGroupInterestFreeListDto;
import com.crm.rely.backend.core.entity.base.SingleLongEntity;
import com.crm.rely.backend.core.entity.custom.group.free.CustomGroupInterestFreeAddEntity;
import com.crm.rely.backend.core.entity.custom.group.free.CustomGroupInterestFreeDeleteEntitys;
import com.crm.rely.backend.core.entity.custom.group.free.CustomGroupInterestFreeSearchEntity;
import com.crm.rely.backend.core.entity.custom.group.free.CustomGroupInterestFreeUpdateEntity;
import com.crm.rely.backend.exception.ServiceException;

public interface CustomGroupInterestFreeService {

    void add(CustomGroupInterestFreeAddEntity entity) throws ServiceException;

    void delete(CustomGroupInterestFreeDeleteEntitys entitys) throws ServiceException;

    void update(CustomGroupInterestFreeUpdateEntity entity) throws ServiceException;

    ResultWithPagerDto<CustomGroupInterestFreeListDto> searchPageList(CustomGroupInterestFreeSearchEntity entity) throws ServiceException;

    CustomGroupInterestFreeListDto searchSingle(SingleLongEntity entity) throws ServiceException;
    
}
