using System.ComponentModel;
using Exam.Repository.Sqlsugar.Validators.Questions;
using Hotline.Exams.ExamManages;
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 TagQuestionRepository : ExamRepository<ExamTagQuestion>, ITagQuestionRepository,IScopeDependency
    {
        public TagQuestionRepository(ISugarUnitOfWork<HotlineDbContext> uow, IDataPermissionFilterBuilder dataPermissionFilterBuilder, IServiceProvider serviceProvider) : base(uow, dataPermissionFilterBuilder, serviceProvider)
        {
            Validator = new TagQuestionValidator();
        }
    }
}

