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 TrainPracticeSourcewareRepository : ExamRepository<ExamTrainPracticeSourceware>, ITrainPracticeSourcewareRepository, IScopeDependency
    {
        public TrainPracticeSourcewareRepository(ISugarUnitOfWork<HotlineDbContext> uow, IDataPermissionFilterBuilder dataPermissionFilterBuilder, IServiceProvider serviceProvider) : base(uow, dataPermissionFilterBuilder, serviceProvider)
        {
            Validator = new TrainPracticeSourcewareValidator();
        }
    }
}

