using Furion.DatabaseAccessor; using Microsoft.EntityFrameworkCore; using System; using System.Collections.Generic; namespace Dilon.Core { /// /// 系统角色表种子数据 /// public class SysRoleSeedData : IEntitySeedData { /// /// 种子数据 /// /// /// /// public IEnumerable HasData(DbContext dbContext, Type dbContextLocator) { return new[] { new SysRole{Id=142307070910554, Name="系统管理员", Code="sys_manager_role", Sort=100, DataScopeType=1, Remark="系统管理员", Status=0 }, new SysRole{Id=142307070910555, Name="普通用户", Code="common_role", Sort=101, DataScopeType=5, Remark="普通用户", Status=0 } }; } } }