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

namespace Hotline.Repository.SqlSugar.Exam.Repositories.Trains
{
    /// <summary>
    /// 培训资料仓储
    /// </summary>
    [Description("培训资料仓储")]
    public class TrainKnowladgeRepository : ExamRepository<ExamTrainKnowladge>, ITrainKnowladgeRepository,IScopeDependency
    {
        public TrainKnowladgeRepository(ISugarUnitOfWork<HotlineDbContext> uow, IDataPermissionFilterBuilder dataPermissionFilterBuilder, IServiceProvider serviceProvider) : base(uow, dataPermissionFilterBuilder, serviceProvider)
        {
            Validator = new TrainKnowladgeValidator();
        }
    }
}

