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
640 B

using GDZZ.Core;
using GDZZ.Core.Entity;
namespace GDZZ.CodeFirst;
public class SysPosSeedData : ISeedData , ISqlSugarEntitySeedData<SysPos>
{ public IEnumerable<SysPos> HasData()
{ string json = @"[{""Name"":""系统职位"",""Code"":""SystemPos"",""Sort"":1,""Remark"":null,""Status"":0,""TenantId"":142307070918780,""CreatedTime"":""2021-07-05T11:58:54.63"",""UpdatedTime"":null,""CreatedUserId"":142307070910551,""CreatedUserName"":""superAdmin"",""UpdatedUserId"":null,""UpdatedUserName"":null,""IsDeleted"":false,""Id"":177325394366533}]
";
List<SysPos> list = JsonUtil.ToObject<List<SysPos>>(json);
return list;
}}