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.CardAppCommonProblemDto;
import com.crm.rely.backend.core.entity.base.BaseDeleteEntities;
import com.crm.rely.backend.core.entity.ucard.CardAppCommonProblemAddEntity;
import com.crm.rely.backend.core.entity.ucard.CardAppCommonProblemPageEntity;
import com.crm.rely.backend.core.entity.ucard.CardAppCommonProblemUpdateEntity;
import com.crm.rely.backend.exception.ServiceException;

public interface UcardAppCommonProblemService {

    /**
     * app常见问题列表
     */
    ResultWithPagerDto<CardAppCommonProblemDto> getCardAppCommonProblemPageList(CardAppCommonProblemPageEntity entity) throws ServiceException;
    /**
     * 新增app常见问题
     */
    BaseResultDto addCardAppCommonProblem(CardAppCommonProblemAddEntity entity) throws ServiceException;
    /**
     * 修改app常见问题
     */
    BaseResultDto updateCardAppCommonProblem(CardAppCommonProblemUpdateEntity entity) throws ServiceException;
    /**
     * 批量删除app常见问题
     */
    BaseResultDto deleteCardAppCommonProblem(BaseDeleteEntities entity) throws ServiceException;

}
