Admin.net框架
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

24 lines
839 B

namespace Admin.NET.Core;
/// <summary>
/// 系统用户角色表种子数据
/// </summary>
public class SysUserRoleSeedData : ISqlSugarEntitySeedData<SysUserRole>
{
/// <summary>
/// 种子数据
/// </summary>
/// <returns></returns>
[IgnoreUpdate]
public IEnumerable<SysUserRole> HasData()
{
return new[]
{
new SysUserRole{ Id=1300000000101, UserId=1300000000111, RoleId=1300000000101 },
new SysUserRole{ Id=1300000000102, UserId=1300000000112, RoleId=1300000000102 },
new SysUserRole{ Id=1300000000103, UserId=1300000000113, RoleId=1300000000103 },
new SysUserRole{ Id=1300000000104, UserId=1300000000114, RoleId=1300000000104 },
new SysUserRole{ Id=1300000000105, UserId=1300000000115, RoleId=1300000000105 },
};
}
}