//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//     Changes to this file may cause incorrect behavior and will be lost if
//     the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------

using Luban;
using System.Text.Json;


namespace cfg.test
{
public sealed partial class H2 : Luban.BeanBase
{
    public H2(JsonElement _buf) 
    {
        Z2 = _buf.GetProperty("z2").GetInt32();
        Z3 = _buf.GetProperty("z3").GetInt32();
    }

    public static H2 DeserializeH2(JsonElement _buf)
    {
        return new test.H2(_buf);
    }

    public readonly int Z2;
    public readonly int Z3;
   
    public const int __ID__ = -1422503994;
    public override int GetTypeId() => __ID__;

    public  void ResolveRef(Tables tables)
    {
        
        
    }

    public override string ToString()
    {
        return "{ "
        + "z2:" + Z2 + ","
        + "z3:" + Z3 + ","
        + "}";
    }
}

}