package com.crm.custom.service;

import com.crm.rely.backend.core.dto.base.ResultWithPagerDto;
import com.crm.rely.backend.core.entity.base.SingleLongEntity;
import com.crm.rely.backend.core.exception.ServiceException;
import com.crm.rely.backend.model.dto.golden.question.GoldenCommonQuestionListDto;
import com.crm.rely.backend.model.entity.golden.question.GoldenCommonQuestionAddEntity;
import com.crm.rely.backend.model.entity.golden.question.GoldenCommonQuestionDeleteEntitys;
import com.crm.rely.backend.model.entity.golden.question.GoldenCommonQuestionSearchEntity;
import com.crm.rely.backend.model.entity.golden.question.GoldenCommonQuestionUpdateEntity;

public interface GoldenCommonQuestionService {

    void add(GoldenCommonQuestionAddEntity entity) throws ServiceException;

    void delete(GoldenCommonQuestionDeleteEntitys entitys) throws ServiceException;

    void update(GoldenCommonQuestionUpdateEntity entity) throws ServiceException;

    ResultWithPagerDto<GoldenCommonQuestionListDto> searchPageList(GoldenCommonQuestionSearchEntity entity) throws ServiceException;

    GoldenCommonQuestionListDto searchSingle(SingleLongEntity entity) throws ServiceException;
    
}
