package com.crm.manager.service;

import com.crm.rely.backend.core.dto.base.ResultWithPagerDto;
import com.crm.rely.backend.core.dto.custom.allocation.roster.scheduled.CustomAllocationRosterScheduledDto;
import com.crm.rely.backend.core.entity.base.SingleLongEntity;
import com.crm.rely.backend.core.entity.custom.allocation.roster.scheduled.CustomAllocationRosterScheduledAddEntity;
import com.crm.rely.backend.core.entity.custom.allocation.roster.scheduled.CustomAllocationRosterScheduledDeleteEntity;
import com.crm.rely.backend.core.entity.custom.allocation.roster.scheduled.CustomAllocationRosterScheduledSearchEntity;
import com.crm.rely.backend.core.entity.custom.allocation.roster.scheduled.CustomAllocationRosterScheduledUpdateEntity;
import com.crm.rely.backend.exception.ServiceException;

public interface CustomAllocationRosterScheduledService {

    void add(CustomAllocationRosterScheduledAddEntity entity) throws ServiceException;

    void update(CustomAllocationRosterScheduledUpdateEntity entity) throws ServiceException;

    void delete(CustomAllocationRosterScheduledDeleteEntity entity) throws ServiceException;

    ResultWithPagerDto<CustomAllocationRosterScheduledDto> searchPageList(CustomAllocationRosterScheduledSearchEntity entity) throws ServiceException;

    CustomAllocationRosterScheduledDto searchSingle(SingleLongEntity entity) throws ServiceException;
}
