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

namespace Hotline.Repository.SqlSugar.Exam.Repositories.ExamManages
{
    /// <summary>
    /// 用户考试明细仓储
    /// </summary>
    [Description("用户考试明细仓储")]
    public class UserExamItemRepository : ExamRepository<ExamUserExamItem>, IUserExamItemRepository,IScopeDependency
    {
        public UserExamItemRepository(ISugarUnitOfWork<HotlineDbContext> uow, IDataPermissionFilterBuilder dataPermissionFilterBuilder, IServiceProvider serviceProvider) : base(uow, dataPermissionFilterBuilder, serviceProvider)
        {
            Validator = new UserExamItemValidator();
        }
    }
}

