//------------------------------------------------------------------------------ // // 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 Bright.Serialization; using System.Collections.Generic; using SimpleJSON; namespace cfg { public sealed partial class MonthlySign : Bright.Config.BeanBase { public JSONNode json; public MonthlySign(JSONNode _json) { { if(!_json["SignDayAccount"].IsNumber) { throw new SerializationException(); } SignDayAccount = _json["SignDayAccount"]; } { if(!_json["DropID"].IsNumber) { throw new SerializationException(); } DropID = _json["DropID"]; } json = _json; PostInit(); } public MonthlySign(int SignDayAccount, int DropID ) { this.SignDayAccount = SignDayAccount; this.DropID = DropID; PostInit(); } public static MonthlySign DeserializeMonthlySign(JSONNode _json) { return new MonthlySign(_json); } public int SignDayAccount { get; private set; } /// /// 对应drop表 /// public int DropID { get; private set; } public const int __ID__ = -1196049590; public override int GetTypeId() => __ID__; public void Resolve(Dictionary _tables) { PostResolve(); } public void TranslateText(System.Func translator) { } public override string ToString() { return "{ " + "SignDayAccount:" + SignDayAccount + "," + "DropID:" + DropID + "," + "}"; } partial void PostInit(); partial void PostResolve(); } }