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

namespace Hotline.Repository.SqlSugar.Exam.Repositories.Sourcewares
{
    /// <summary>
    /// 课件仓储
    /// </summary>
    [Description("课件仓储")]
    public class SourcewareRepository : ExamRepository<ExamSourceware>, ISourcewareRepository,IScopeDependency
    {
        public SourcewareRepository(ISugarUnitOfWork<HotlineDbContext> uow, IDataPermissionFilterBuilder dataPermissionFilterBuilder, IServiceProvider serviceProvider) : base(uow, dataPermissionFilterBuilder, serviceProvider)
        {
            Validator = new SourcewareValidator(this);
        }
    }
}

