package com.crm.manager.service;

import com.crm.rely.backend.core.dto.base.ResultWithPagerDto;
import com.crm.rely.backend.core.dto.system.logintype.SysAgentLoginTypeListDto;
import com.crm.rely.backend.core.entity.base.SingleLongEntity;
import com.crm.rely.backend.core.entity.system.agent.logintype.SysAgentLoginTypeAddEntity;
import com.crm.rely.backend.core.entity.system.agent.logintype.SysAgentLoginTypeDeleteEntitys;
import com.crm.rely.backend.core.entity.system.agent.logintype.SysAgentLoginTypeUpdateEntity;
import com.crm.rely.backend.core.entity.system.logintype.SysLoginTypeSearchEntity;
import com.crm.rely.backend.exception.ServiceException;

public interface SysAgentLoginTypeService {

    void add(SysAgentLoginTypeAddEntity entity) throws ServiceException;

    void delete(SysAgentLoginTypeDeleteEntitys entitys) throws ServiceException;

    void update(SysAgentLoginTypeUpdateEntity entity) throws ServiceException;

    boolean existByAgentId(Long agentId) throws ServiceException;

    ResultWithPagerDto<SysAgentLoginTypeListDto> searchPageList(SysLoginTypeSearchEntity entity) throws ServiceException;

    SysAgentLoginTypeListDto searchSingle(SingleLongEntity entity) throws ServiceException;

}
