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

namespace Hotline.Repository.SqlSugar.Exam.Repositories.TestPapers
{
    /// <summary>
    /// 试卷规则仓储
    /// </summary>
    [Description("试卷规则仓储")]
    public class TestPaperRuleRepository : ExamRepository<ExamTestPaperRule>, ITestPaperRuleRepository,IScopeDependency
    {
        public TestPaperRuleRepository(ISugarUnitOfWork<HotlineDbContext> uow, IDataPermissionFilterBuilder dataPermissionFilterBuilder, IServiceProvider serviceProvider) : base(uow, dataPermissionFilterBuilder, serviceProvider)
        {
            Validator = new TestPaperRuleValidator();
        }
    }
}

