This commit is contained in:
30
Api/Dilon.Core/SeedData/SysEmpPosSeedData.cs
Normal file
30
Api/Dilon.Core/SeedData/SysEmpPosSeedData.cs
Normal file
@@ -0,0 +1,30 @@
|
||||
using Furion.DatabaseAccessor;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Dilon.Core
|
||||
{
|
||||
/// <summary>
|
||||
/// 系统员工职位表种子数据
|
||||
/// </summary>
|
||||
public class SysEmpPosSeedData : IEntitySeedData<SysEmpPos>
|
||||
{
|
||||
/// <summary>
|
||||
/// 员工种子数据
|
||||
/// </summary>
|
||||
/// <param name="dbContext"></param>
|
||||
/// <param name="dbContextLocator"></param>
|
||||
/// <returns></returns>
|
||||
public IEnumerable<SysEmpPos> HasData(DbContext dbContext, Type dbContextLocator)
|
||||
{
|
||||
return new[]
|
||||
{
|
||||
new SysEmpPos{SysEmpId=142307070910551, SysPosId=142307070910547 },
|
||||
new SysEmpPos{SysEmpId=142307070910551, SysPosId=142307070910548 },
|
||||
new SysEmpPos{SysEmpId=142307070910552, SysPosId=142307070910549 },
|
||||
new SysEmpPos{SysEmpId=142307070910553, SysPosId=142307070910547 }
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user