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.
zongzhilinglan/GDZZ.CodeFirst/SeedData/SysUserDataScopeSeedData.cs

14 lines
468 B

using GDZZ.Core;
using GDZZ.Core.Entity;
namespace GDZZ.CodeFirst;
public class SysUserDataScopeSeedData : ISeedData , ISqlSugarEntitySeedData<SysUserDataScope>
{ public IEnumerable<SysUserDataScope> HasData()
{ string json = @"[{""SysUserId"":175624015269957,""SysOrgId"":175624015089733},{""SysUserId"":278024843153477,""SysOrgId"":278024843092037}]
";
List<SysUserDataScope> list = JsonUtil.ToObject<List<SysUserDataScope>>(json);
return list;
}}