using System; using System.Collections.Generic; using ProtoBuf; namespace KKSG { [ProtoContract(Name = "SpActivityOffsetDay")] [Serializable] public class SpActivityOffsetDay : IExtensible { [ProtoMember(1, Name = "actid", DataFormat = DataFormat.TwosComplement)] public List actid { get { return this._actid; } } [ProtoMember(2, Name = "offsetday", DataFormat = DataFormat.TwosComplement)] public List offsetday { get { return this._offsetday; } } [ProtoMember(3, Name = "offsettime", DataFormat = DataFormat.TwosComplement)] public List offsettime { get { return this._offsettime; } } private readonly List _actid = new List(); private readonly List _offsetday = new List(); private readonly List _offsettime = new List(); private IExtension extensionObject; IExtension IExtensible.GetExtensionObject(bool createIfMissing) { return Extensible.GetExtensionObject(ref this.extensionObject, createIfMissing); } } }