using Abp.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using YGNT.QuestionLibrary.Core.BaseData;
using YGNT.QuestionLibrary.Core.Chapters;
using YGNT.QuestionLibrary.Core.CognitiveAbilities;
using YGNT.QuestionLibrary.Core.Disciplines;
using YGNT.QuestionLibrary.Core.EducationCategories;
using YGNT.QuestionLibrary.Core.Grades;
using YGNT.QuestionLibrary.Core.KnowledgePoints;
using YGNT.QuestionLibrary.Core.Papers;
using YGNT.QuestionLibrary.Core.Questions;
using YGNT.QuestionLibrary.Core.Tasks;
using YGNT.QuestionLibrary.Core.Testings;
using YGNT.QuestionLibrary.Core.Textbooks;

namespace YGNT.QuestionLibrary.EntityFrameworkCore
{
    public class QuestionLibraryDbContext : AbpDbContext
    {
        //Add DbSet properties for your entities...

        public DbSet<EducationCategory> EducationCategories { get; set; }

        public DbSet<Discipline> Disciplines { get; set; }

        public DbSet<DisciplineQuestionType> DisciplineQuestionTypes { get; set; }

        public DbSet<Textbook> Textbooks { get; set; }

        public DbSet<Chapter> Chapters { get; set; }

        public DbSet<Grade> Grades { get; set; }

        public DbSet<ChapterTreePath> ChapterTreePaths { get; set; }

        public DbSet<UserDiscipline> UserDisciplines { get; set; }

        public DbSet<KnowledgePoint> KnowledgePoints { get; set; }

        public DbSet<KnowledgePointTreePath> KnowledgePointTreePaths { get; set; }

        public DbSet<CognitiveAbility> CognitiveAbilities { get; set; }

        public DbSet<Question> Questions { get; set; }

        public DbSet<QuestionOrigin> QuestionOrigins { get; set; }

        public DbSet<Resolve> QuestionResolves { get; set; }

        public DbSet<QuestionKnowledgePoint> QuestionKnowledgePoints { get; set; }

        public DbSet<QuestionType> QuestionTypes { get; set; }

        public DbSet<PaperStructureSetting> PaperStructureSettings { get; set; }


        public DbSet<Paper> Papers { get; set; }

        public DbSet<PaperSetting> PaperSettings { get; set; }

        public DbSet<PaperDiscipline> PaperDisciplines { get; set; }

        public DbSet<PaperQuestion> PaperQuestions { get; set; }

        public DbSet<PaperDisciplineQtSortSetting> PaperDisciplineQtSortSettings { get; set; }

        public DbSet<QuestionResolveTask> QuestionResolveTasks { get; set; }

        public DbSet<PaperProduceTask> PaperProduceTasks { get; set; }

        public DbSet<ResolveTaskQuestion> ResolveTaskQuestions { get; set; }

        public DbSet<QuestionConvertTask> QuestionConvertTasks { get; set; }

        public DbSet<QuestionReplaceTask> QuestionReplaceTasks { get; set; }

        public DbSet<PaperProduceResult> PaperProduceResults { get; set; }

        public DbSet<Testing> Testings { get; set; }
        public DbSet<TestingQuestion> TestingQuestions { get; set; }
        public DbSet<TestingType> TestingTypes { get; set; }

        public QuestionLibraryDbContext(DbContextOptions<QuestionLibraryDbContext> options)
            : base(options)
        {

        }

    }
}
