using Furion.DatabaseAccessor; using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; namespace Dilon.Core { /// /// 系统职位表种子数据 /// public class SysPosSeedData : IEntitySeedData { /// /// 种子数据 /// /// /// /// public IEnumerable 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 }; } } }