package com.crm.manager.service;

import com.crm.rely.backend.core.dto.base.ResultWithPagerDto;
import com.crm.rely.backend.core.dto.custom.login.completion.CustomLoginCompletionListDto;
import com.crm.rely.backend.core.entity.base.SingleLongEntity;
import com.crm.rely.backend.core.entity.custom.login.completion.CustomLoginCompletionAddEntity;
import com.crm.rely.backend.core.entity.custom.login.completion.CustomLoginCompletionDeleteEntitys;
import com.crm.rely.backend.core.entity.custom.login.completion.CustomLoginCompletionSearchEntity;
import com.crm.rely.backend.core.entity.custom.login.completion.CustomLoginCompletionUpdateEntity;
import com.crm.rely.backend.exception.ServiceException;

import java.util.List;

public interface CustomLoginCompletionService {

    void add(CustomLoginCompletionAddEntity entity) throws ServiceException;

    void delete(CustomLoginCompletionDeleteEntitys entitys) throws ServiceException;

    void update(CustomLoginCompletionUpdateEntity entity) throws ServiceException;

    ResultWithPagerDto<CustomLoginCompletionListDto> searchPageList(CustomLoginCompletionSearchEntity entity) throws ServiceException;

    CustomLoginCompletionListDto searchSingle(SingleLongEntity entity) throws ServiceException;

    void adds(List<CustomLoginCompletionAddEntity> addEntities) throws ServiceException;
}
