//------------------------------------------------------------------------------ // // This code was generated by a tool. // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // //------------------------------------------------------------------------------ using Luban; using System.Text.Json; namespace cfg.test { public sealed partial class DemoGroup : Luban.BeanBase { public DemoGroup(JsonElement _buf) { Id = _buf.GetProperty("id").GetInt32(); X5 = test.InnerGroup.DeserializeInnerGroup(_buf.GetProperty("x5")); } public static DemoGroup DeserializeDemoGroup(JsonElement _buf) { return new test.DemoGroup(_buf); } public readonly int Id; public readonly test.InnerGroup X5; public const int __ID__ = -379263008; public override int GetTypeId() => __ID__; public void ResolveRef(Tables tables) { X5?.ResolveRef(tables); } public override string ToString() { return "{ " + "id:" + Id + "," + "x5:" + X5 + "," + "}"; } } }