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 TestPaperItemRepository : ExamRepository<ExamTestPaperItem>, ITestPaperItemRepository,IScopeDependency
    {
        public TestPaperItemRepository(ISugarUnitOfWork<HotlineDbContext> uow, IDataPermissionFilterBuilder dataPermissionFilterBuilder, IServiceProvider serviceProvider) : base(uow, dataPermissionFilterBuilder, serviceProvider)
        {
            Validator = new TestPaperItemValidator();
        }
    }
}

