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 TrainRecordAnswerRepository : ExamRepository<ExamTrainRecordAnswer>, ITrainRecordAnswerRepository,IScopeDependency
    {
        public TrainRecordAnswerRepository(ISugarUnitOfWork<HotlineDbContext> uow, IDataPermissionFilterBuilder dataPermissionFilterBuilder, IServiceProvider serviceProvider) : base(uow, dataPermissionFilterBuilder, serviceProvider)
        {
            Validator = new TrainRecordAnswerValidator();
        }
    }
}

