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.CardAppPrivacyPolicyDto;
import com.crm.rely.backend.core.entity.base.BaseDeleteEntities;
import com.crm.rely.backend.core.entity.ucard.CardAppPrivacyPolicyAddEntity;
import com.crm.rely.backend.core.entity.ucard.CardAppPrivacyPolicyPageEntity;
import com.crm.rely.backend.core.entity.ucard.CardAppPrivacyPolicyUpdateEntity;
import com.crm.rely.backend.exception.ServiceException;

public interface UcardAppPrivacyPolicyService {

    /**
     * app隐私政策列表
     */
    ResultWithPagerDto<CardAppPrivacyPolicyDto> getCardAppPrivacyPolicyPageList(CardAppPrivacyPolicyPageEntity entity) throws ServiceException;
    /**
     * 新增app隐私政策
     */
    BaseResultDto addCardAppPrivacyPolicy(CardAppPrivacyPolicyAddEntity entity) throws ServiceException;
    /**
     * 修改app隐私政策
     */
    BaseResultDto updateCardAppPrivacyPolicy(CardAppPrivacyPolicyUpdateEntity entity) throws ServiceException;
    /**
     * 批量删除app隐私政策
     */
    BaseResultDto deleteCardAppPrivacyPolicy(BaseDeleteEntities entity) throws ServiceException;

}
