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 QuestionTagRepository : ExamRepository<ExamQuestionTag>, IQuestionTagRepository,IScopeDependency
    {
        public QuestionTagRepository(ISugarUnitOfWork<HotlineDbContext> uow, IDataPermissionFilterBuilder dataPermissionFilterBuilder, IServiceProvider serviceProvider) : base(uow, dataPermissionFilterBuilder, serviceProvider)
        {
            Validator = new QuestionTagValidator();
        }
    }
}

