//------------------------------------------------------------------------------ // // 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 TestMultiColumn : Luban.BeanBase { public TestMultiColumn(JsonElement _buf) { Id = _buf.GetProperty("id").GetInt32(); A = test.Foo.DeserializeFoo(_buf.GetProperty("a")); B = test.Foo.DeserializeFoo(_buf.GetProperty("b")); C = test.Foo.DeserializeFoo(_buf.GetProperty("c")); } public static TestMultiColumn DeserializeTestMultiColumn(JsonElement _buf) { return new test.TestMultiColumn(_buf); } public readonly int Id; public readonly test.Foo A; public readonly test.Foo B; public readonly test.Foo C; public const int __ID__ = -294473599; public override int GetTypeId() => __ID__; public void ResolveRef(Tables tables) { A?.ResolveRef(tables); B?.ResolveRef(tables); C?.ResolveRef(tables); } public override string ToString() { return "{ " + "id:" + Id + "," + "a:" + A + "," + "b:" + B + "," + "c:" + C + "," + "}"; } } }