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 XF.Domain.Dependency;

namespace Hotline.Repository.SqlSugar.Exam.Repositories.Trains
{
    public class TrainPracticeOptionsRepository : ExamRepository<ExamTrainPracticeOptions>, ITrainPracticeOptionsRepository, IScopeDependency
    {
        public TrainPracticeOptionsRepository(ISugarUnitOfWork<HotlineDbContext> uow, IDataPermissionFilterBuilder dataPermissionFilterBuilder, IServiceProvider serviceProvider) : base(uow, dataPermissionFilterBuilder, serviceProvider)
        {
            Validator = new TrainPracticeOptionValidator();
        }
    }
}
