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

namespace Hotline.Repository.SqlSugar.Exam.Repositories.Trains
{
    /// <summary>
    /// 培训计划模版
    /// </summary>
    [Description("培训计划模版")]
    public class TrainPlanTemplateRepository : ExamRepository<ExamTrainPlanTemplate>, ITrainPlanTemplateRepository, IScopeDependency
    {
        public TrainPlanTemplateRepository(ISugarUnitOfWork<HotlineDbContext> uow, IDataPermissionFilterBuilder dataPermissionFilterBuilder, IServiceProvider serviceProvider) : base(uow, dataPermissionFilterBuilder, serviceProvider)
        {
            Validator = new TrainPlanTemplateValidator();
        }
    }
}
