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 TestPaperRepository : ExamRepository<ExamTestPaper>, ITestPaperRepository,IScopeDependency
    {
        public TestPaperRepository(ISugarUnitOfWork<HotlineDbContext> uow, IDataPermissionFilterBuilder dataPermissionFilterBuilder, IServiceProvider serviceProvider) : base(uow, dataPermissionFilterBuilder, serviceProvider)
        {
            Validator = new TestPaperValidator(this);
        }
    }
}

