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="6dfe9189-ce10-434e-a7a7-5cdc46e85047", Name="系统管理员", Code="sys_manager_role", Sort=100, DataScopeType=1, Remark="系统管理员", Status=0 }, // 142307070910554
new SysRole{Id="cd187ebd-ab3d-4768-9669-85e2219c2910", Name="普通用户", Code="common_role", Sort=101, DataScopeType=5, Remark="普通用户", Status=0 } // 142307070910555
};
}
}
}