using Furion.DatabaseAccessor;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
namespace YBEE.EQM.Core.SeedData;
///
/// 科目种子数据
///
public class CourseSeedData : IEntitySeedData
{
public IEnumerable HasData(DbContext dbContext, Type dbContextLocator)
{
return new[]
{
new Course { Id = 1, Name = "语文", ShortName = "语", NickName = "语文", Status = CommonStatus.ENABLE, CreateSysUserId = 1, CreateTime = DateTime.Now },
new Course { Id = 2, Name = "数学", ShortName = "数", NickName = "数学", Status = CommonStatus.ENABLE, CreateSysUserId = 1, CreateTime = DateTime.Now },
new Course { Id = 3, Name = "英语", ShortName = "英", NickName = "外语", Status = CommonStatus.ENABLE, CreateSysUserId = 1, CreateTime = DateTime.Now },
new Course { Id = 4, Name = "物理", ShortName = "物", NickName = "物理", Status = CommonStatus.ENABLE, CreateSysUserId = 1, CreateTime = DateTime.Now },
new Course { Id = 5, Name = "化学", ShortName = "化", NickName = "化学", Status = CommonStatus.ENABLE, CreateSysUserId = 1, CreateTime = DateTime.Now },
new Course { Id = 6, Name = "生物", ShortName = "生", NickName = "生物", Status = CommonStatus.ENABLE, CreateSysUserId = 1, CreateTime = DateTime.Now },
new Course { Id = 7, Name = "政治", ShortName = "政", NickName = "政治", Status = CommonStatus.ENABLE, CreateSysUserId = 1, CreateTime = DateTime.Now },
new Course { Id = 8, Name = "历史", ShortName = "史", NickName = "历史", Status = CommonStatus.ENABLE, CreateSysUserId = 1, CreateTime = DateTime.Now },
new Course { Id = 9, Name = "地理", ShortName = "地", NickName = "地理", Status = CommonStatus.ENABLE, CreateSysUserId = 1, CreateTime = DateTime.Now },
new Course { Id = 30, Name = "德语", ShortName = "德", NickName = "外语", Status = CommonStatus.ENABLE, CreateSysUserId = 1, CreateTime = DateTime.Now },
new Course { Id = 31, Name = "日语", ShortName = "日", NickName = "外语", Status = CommonStatus.ENABLE, CreateSysUserId = 1, CreateTime = DateTime.Now },
};
}
}