package com.crm.manager.service;

import com.crm.rely.backend.core.dto.base.BaseResultDto;
import com.crm.rely.backend.core.dto.base.BaseResultWithPagerDto;
import com.crm.rely.backend.core.dto.custom.login.special.CustomLoginSpecialCalcDto;
import com.crm.rely.backend.core.entity.custom.login.special.CustomLoginSpecialCalcAddEntity;
import com.crm.rely.backend.core.entity.custom.login.special.CustomLoginSpecialCalcListEntity;
import com.crm.rely.backend.core.entity.custom.login.special.CustomLoginSpecialCalcUpdateEntity;
import com.crm.rely.backend.exception.ServiceException;

import java.util.List;
import java.util.Objects;

public interface CustomLoginSpecialCalcService {

    BaseResultDto<Object> add(CustomLoginSpecialCalcAddEntity entity) throws ServiceException;

    BaseResultDto<Object> updateById(CustomLoginSpecialCalcUpdateEntity entity) throws ServiceException;

    BaseResultDto<Object> deleteById(Long id) throws ServiceException;

    BaseResultDto<CustomLoginSpecialCalcDto> searchSingle(Long id) throws ServiceException;

    BaseResultWithPagerDto<List<CustomLoginSpecialCalcDto>> searchList(CustomLoginSpecialCalcListEntity entity) throws ServiceException;


}
