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

namespace Hotline.Repository.SqlSugar.Exam.Repositories.Practices
{
    /// <summary>
    /// 练习题目仓储
    /// </summary>
    [Description("练习题目仓储")]
    public class PracticeQuestionRepository : ExamRepository<ExamPracticeQuestion>, IPracticeQuestionRepository,IScopeDependency
    {
        public PracticeQuestionRepository(ISugarUnitOfWork<HotlineDbContext> uow, IDataPermissionFilterBuilder dataPermissionFilterBuilder, IServiceProvider serviceProvider) : base(uow, dataPermissionFilterBuilder, serviceProvider)
        {
            Validator = new PracticeQuestionValidator();
        }
    }
}

