package com.crm.manager.service;

import com.crm.rely.backend.core.dto.base.ResultWithPagerDto;
import com.crm.rely.backend.core.dto.custom.allocation.roster.area.CustomAllocationRosterAreaListDto;
import com.crm.rely.backend.core.entity.base.SingleLongEntity;
import com.crm.rely.backend.core.entity.custom.allocation.roster.area.CustomAllocationRosterAreaAddEntity;
import com.crm.rely.backend.core.entity.custom.allocation.roster.area.CustomAllocationRosterAreaDeleteEntitys;
import com.crm.rely.backend.core.entity.custom.allocation.roster.area.CustomAllocationRosterAreaSearchEntity;
import com.crm.rely.backend.core.entity.custom.allocation.roster.area.CustomAllocationRosterAreaUpdateEntity;
import com.crm.rely.backend.exception.ServiceException;

import java.util.List;

public interface CustomAllocationRosterAreaService {

    void add(CustomAllocationRosterAreaAddEntity entity) throws ServiceException;

    void delete(CustomAllocationRosterAreaDeleteEntitys entitys) throws ServiceException;

    void update(CustomAllocationRosterAreaUpdateEntity entity) throws ServiceException;

    ResultWithPagerDto<CustomAllocationRosterAreaListDto> searchPageList(CustomAllocationRosterAreaSearchEntity entity) throws ServiceException;

    CustomAllocationRosterAreaListDto searchSingle(SingleLongEntity entity) throws ServiceException;

    List<CustomAllocationRosterAreaListDto> getAllList(CustomAllocationRosterAreaSearchEntity entity);

}
