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.CardAppVersionDto;
import com.crm.rely.backend.core.entity.base.BaseDeleteEntities;
import com.crm.rely.backend.core.entity.ucard.CardAppVersionAddEntity;
import com.crm.rely.backend.core.entity.ucard.CardAppVersionDetailEntity;
import com.crm.rely.backend.core.entity.ucard.CardAppVersionPageEntity;
import com.crm.rely.backend.core.entity.ucard.CardAppVersionUpdateEntity;
import com.crm.rely.backend.exception.ServiceException;

public interface UcardAppVersionService {

    /**
     * app版本配置列表
     */
    ResultWithPagerDto<CardAppVersionDto> getCardAppVersionPageList(CardAppVersionPageEntity entity) throws ServiceException;
    /**
     * 新增app版本配置
     */
    BaseResultDto addCardAppVersion(CardAppVersionAddEntity entity) throws ServiceException;
    /**
     * 修改app版本配置
     */
    BaseResultDto updateCardAppVersion(CardAppVersionUpdateEntity entity) throws ServiceException;
    /**
     * 批量删除app版本配置
     */
    BaseResultDto deleteCardAppVersion(BaseDeleteEntities entity) throws ServiceException;
    /**
     * 获取最新一条版本配置
     */
    BaseResultDto getLatestCardAppVersion(CardAppVersionDetailEntity entity) throws ServiceException;

}
