package com.crm.ucard.service;

import com.crm.rely.backend.core.dto.base.BaseResultDto;
import com.crm.rely.backend.core.dto.base.ResultWithPagerDto;
import com.crm.rely.backend.core.dto.ucard.CardIdTypeConfigDto;
import com.crm.rely.backend.core.entity.base.BaseDeleteEntities;
import com.crm.rely.backend.core.entity.ucard.CardIdTypeConfigAddEntity;
import com.crm.rely.backend.core.entity.ucard.CardIdTypeConfigPageEntity;
import com.crm.rely.backend.core.entity.ucard.CardIdTypeConfigUpdateEntity;
import com.crm.rely.backend.core.entity.ucard.CardTypeConfigUpdateEntity;
import com.crm.rely.backend.exception.ServiceException;

import java.util.List;

public interface UcardTypeConfigService {
    /**
     * 修改卡类型配置
     */
    BaseResultDto updateCardTypeConfig(CardTypeConfigUpdateEntity entity) throws ServiceException;
    /**
     * 证件类型配置列表
     */
    ResultWithPagerDto<CardIdTypeConfigDto> getCardIdTypeConfigList(CardIdTypeConfigPageEntity entity) throws ServiceException;
    /**
     * 批量更新证件类型配置
     */
    BaseResultDto batchAddCardIdTypeConfig(List<CardIdTypeConfigAddEntity> entitys) throws ServiceException;
    /**
     * 更新证件类型配置
     */
    BaseResultDto updateCardIdTypeConfig(CardIdTypeConfigUpdateEntity entity) throws ServiceException;
    /**
     * 批量删除证件类型配置
     */
    BaseResultDto deleteCardIdTypeConfig(BaseDeleteEntities entity) throws ServiceException;
}
