package com.seer.teach.teacher.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.seer.teach.teacher.module.entity.QuestionOptionsEntity;

import java.util.Collection;
import java.util.List;

/**
 * <p>
 * 题目选项表 服务类
 * </p>
 *
 * @author Wang
 * @since 2025-10-09 15:20:36
 */
public interface QuestionOptionsService extends IService<QuestionOptionsEntity> {

    /**
     * 根据题目ID获取题目选项
     *
     * @param questionId 题目ID
     * @return 题目选项列表
     */
    List<QuestionOptionsEntity> getQuestionOptionsByQuestionId(Integer questionId);

    /**
     * 根据题目ID集合获取题目选项列表
     *
     * @param questionIds 题目ID集合
     * @return 题目选项列表
     */
    List<QuestionOptionsEntity> getQuestionOptionsByQuestionIds(Collection<Integer> questionIds);

}