using System.Collections.Generic;
using System.Threading.Tasks;
using Abp.Dependency;
using YGNT.QuestionLibrary.Core.Models;

namespace YGNT.QuestionLibrary.Core.Papers.Domain.AutoPaper
{
    /// <summary>
    /// 自动组卷
    /// </summary>
    public interface IAutoPaperManager : ITransientDependency
    {
        /// <summary>
        /// 添加随机抽选的试题
        /// </summary>
        /// <param name="paper">试卷</param>
        /// <param name="id">章节id或知识点id</param>
        /// <param name="disciplineQuestionTypeId">学科下细分题型id</param>
        /// <param name="count">题量</param>
        /// <param name="score"></param>
        /// <param name="difficulty">难度</param>
        /// <returns></returns>
        Task<List<PaperQuestion>> AddRandomQuestionAsync(Paper paper,
            long id,
            int disciplineQuestionTypeId,
            int count,
            float score,
            Difficulty difficulty);

    }
}