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.
14 lines
410 B
14 lines
410 B
2 years ago
|
using Magic.Core;
|
||
|
using Magic.Core.Entity;
|
||
|
|
||
|
namespace Magic.CodeFirst;
|
||
|
|
||
|
public class SysRoleDataScopeSeedData : ISeedData , ISqlSugarEntitySeedData<SysRoleDataScope>
|
||
|
{ public IEnumerable<SysRoleDataScope> HasData()
|
||
|
{ string json = @"[{""SysRoleId"":278024843124805,""SysOrgId"":278024843092037}]
|
||
|
";
|
||
|
List<SysRoleDataScope> list = JsonUtil.ToObject<List<SysRoleDataScope>>(json);
|
||
|
|
||
|
return list;
|
||
|
}}
|