using System.ComponentModel;
using Exam.Repository.Sqlsugar.Validators.Questions;
using Hotline.Exams.Questions;
using Hotline.Repository.SqlSugar.DataPermissions;
using Hotline.Repository.SqlSugar.Exam.Interfaces.Questions;
using SqlSugar;
using XF.Domain.Dependency;

namespace Hotline.Repository.SqlSugar.Exam.Repositories.Questions
{
    /// <summary>
    /// 试题参考答案仓储
    /// </summary>
    [Description("试题参考答案仓储")]
    public class QuestionAnswerRepository : ExamRepository<ExamQuestionAnswer>, IQuestionAnswerRepository,IScopeDependency
    {
        public QuestionAnswerRepository(ISugarUnitOfWork<HotlineDbContext> uow, IDataPermissionFilterBuilder dataPermissionFilterBuilder, IServiceProvider serviceProvider) : base(uow, dataPermissionFilterBuilder, serviceProvider)
        {
            Validator = new QuestionAnswerValidator();
        }
    }
}

