using GDZZ.Core; using GDZZ.Core.Entity; namespace GDZZ.CodeFirst; public class SysCodeGenSeedData : ISeedData , ISqlSugarEntitySeedData { public IEnumerable HasData() { string json = @"[{""AuthorName"":""GDZZ"",""TablePrefix"":null,""GenerateType"":""2"",""TableName"":""Test"",""NameSpace"":""GDZZ.Application"",""BusName"":""测试"",""MenuApplication"":""busiapp"",""MenuPid"":0,""CreatedTime"":""2022-05-25T09:15:02.367"",""UpdatedTime"":null,""CreatedUserId"":142307070910551,""CreatedUserName"":""超级管理员"",""UpdatedUserId"":null,""UpdatedUserName"":null,""IsDeleted"":false,""Id"":291946907033669}] "; List list = JsonUtil.ToObject>(json); return list; }}