update:修改项目名称从Dilon到Ewide
This commit is contained in:
30
Api/Ewide.Core/SeedData/SysPosSeedData.cs
Normal file
30
Api/Ewide.Core/SeedData/SysPosSeedData.cs
Normal file
@@ -0,0 +1,30 @@
|
||||
using Furion.DatabaseAccessor;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Ewide.Core
|
||||
{
|
||||
/// <summary>
|
||||
/// 系统职位表种子数据
|
||||
/// </summary>
|
||||
public class SysPosSeedData : IEntitySeedData<SysPos>
|
||||
{
|
||||
/// <summary>
|
||||
/// 种子数据
|
||||
/// </summary>
|
||||
/// <param name="dbContext"></param>
|
||||
/// <param name="dbContextLocator"></param>
|
||||
/// <returns></returns>
|
||||
public IEnumerable<SysPos> HasData(DbContext dbContext, Type dbContextLocator)
|
||||
{
|
||||
return new[]
|
||||
{
|
||||
new SysPos{Id="269236c4-d74e-4e54-9d50-f6f61580a197", Name="总经理", Code="zjl", Sort=100, Remark="总经理", Status=0 },//142307070910547
|
||||
new SysPos{Id="46c68a62-f119-4ff7-b621-0bbd77504538", Name="副总经理", Code="fzjl", Sort=101, Remark="副总经理", Status=0 },//142307070910548
|
||||
new SysPos{Id="5bd8c466-2bca-4386-a551-daac78e3cee8", Name="部门经理", Code="bmjl", Sort=102, Remark="部门经理", Status=0 },//142307070910549
|
||||
new SysPos{Id="d89a3afe-e6ba-4018-bdae-3c98bb47ad66", Name="工作人员", Code="gzry", Sort=103, Remark="工作人员", Status=0 }//142307070910550
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user