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

namespace Hotline.Repository.SqlSugar.Exam.Repositories.Trains
{
    /// <summary>
    /// 关联知识仓储
    /// </summary>
    [Description("关联知识仓储")]
    public class TrainPracticeKnowladgeRepository : ExamRepository<ExamTrainPracticeKnowladge>, ITrainPracticeKnowladgeRepository, IScopeDependency
    {
        public TrainPracticeKnowladgeRepository(ISugarUnitOfWork<HotlineDbContext> uow, IDataPermissionFilterBuilder dataPermissionFilterBuilder, IServiceProvider serviceProvider) : base(uow, dataPermissionFilterBuilder, serviceProvider)
        {
            Validator = new TrainPracticeKnowladgeValidator();
        }
    }
}

