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