12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- // Generate By EToy
- // Don't Edit It!!
- using XGame.Framework.Database;
- using XGame.Framework.Serialization;
- namespace XGame.Database
- {
- /// <summary> hdActivity </summary>
- public sealed class hdActivityTable : ITable
- {
- long ITable.Key => Id;
- /// <summary> 活动id </summary>
- public int Id { get; private set; }
- /// <summary> 顺序 </summary>
- public int Sort { get; private set; }
- /// <summary> 所属位置,0左,1右 </summary>
- public int Pos { get; private set; }
- /// <summary> 功能开启id </summary>
- public int Kaiqi { get; private set; }
- /// <summary> 图标 </summary>
- public string Icon { get; private set; }
- /// <summary> 是否隐藏 </summary>
- public int IsHide { get; private set; }
- void ISerializable.Deserialize(IReader reader)
- {
- Id = reader.ReadInt();
- Sort = reader.ReadInt();
- Pos = reader.ReadInt();
- Kaiqi = reader.ReadInt();
- Icon = reader.ReadString();
- IsHide = reader.ReadInt();
- }
- void ISerializable.Serialize(IWriter writer)
- {
- writer.Write(Id);
- writer.Write(Sort);
- writer.Write(Pos);
- writer.Write(Kaiqi);
- writer.Write(Icon);
- writer.Write(IsHide);
- }
- }
- }
|