using Furion.DatabaseAccessor; using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; namespace YBEE.EQM.Core.SeedData; /// /// 高中选科组合种子数据 /// public class NceeCourseCombSeedData : IEntitySeedData { public IEnumerable HasData(DbContext dbContext, Type dbContextLocator) { return new[] { new NceeCourseComb { Id = 0, FirstCourseId = 200, SecondCourseId = 200, ThirdCourseId = 200, Name = "未选科", ShortName = "未选科" }, new NceeCourseComb { Id = 1, FirstCourseId = 4, SecondCourseId = 5, ThirdCourseId = 6, Name = "物理、化学、生物", ShortName = "物化生" }, new NceeCourseComb { Id = 2, FirstCourseId = 4, SecondCourseId = 5, ThirdCourseId = 7, Name = "物理、化学、政治", ShortName = "物化政" }, new NceeCourseComb { Id = 3, FirstCourseId = 4, SecondCourseId = 5, ThirdCourseId = 9, Name = "物理、化学、地理", ShortName = "物化地" }, new NceeCourseComb { Id = 4, FirstCourseId = 4, SecondCourseId = 6, ThirdCourseId = 7, Name = "物理、生物、政治", ShortName = "物生政" }, new NceeCourseComb { Id = 5, FirstCourseId = 4, SecondCourseId = 6, ThirdCourseId = 9, Name = "物理、生物、地理", ShortName = "物生地" }, new NceeCourseComb { Id = 6, FirstCourseId = 4, SecondCourseId = 7, ThirdCourseId = 9, Name = "物理、政治、地理", ShortName = "物政地" }, new NceeCourseComb { Id = 7, FirstCourseId = 8, SecondCourseId = 5, ThirdCourseId = 6, Name = "历史、化学、生物", ShortName = "史化生" }, new NceeCourseComb { Id = 8, FirstCourseId = 8, SecondCourseId = 5, ThirdCourseId = 7, Name = "历史、化学、政治", ShortName = "史化政" }, new NceeCourseComb { Id = 9, FirstCourseId = 8, SecondCourseId = 5, ThirdCourseId = 9, Name = "历史、化学、地理", ShortName = "史化地" }, new NceeCourseComb { Id = 10, FirstCourseId = 8, SecondCourseId = 6, ThirdCourseId = 7, Name = "历史、生物、政治", ShortName = "史生政" }, new NceeCourseComb { Id = 11, FirstCourseId = 8, SecondCourseId = 6, ThirdCourseId = 9, Name = "历史、生物、地理", ShortName = "史生地" }, new NceeCourseComb { Id = 12, FirstCourseId = 8, SecondCourseId = 7, ThirdCourseId = 9, Name = "历史、政治、地理", ShortName = "史政地" }, }; } }