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 TrainPlanRepository : ExamRepository<ExamTrainPlan>, ITrainPlanRepository,IScopeDependency
    {
        public TrainPlanRepository(ISugarUnitOfWork<HotlineDbContext> uow, IDataPermissionFilterBuilder dataPermissionFilterBuilder, IServiceProvider serviceProvider) : base(uow, dataPermissionFilterBuilder, serviceProvider)
        {
            Validator = new TrainPlanValidator(this);
        }
    }
}

