//------------------------------------------------------------------------------
//
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
//
//------------------------------------------------------------------------------
// ***************************************************************************
// * 作者= jjjr
// * 创建时间= 2017-04-11
// * 用途= 日常活动结构体
// ***************************************************************************
// Generated from: dailyActivity.proto
// Note: requires additional types generated from: item.proto
namespace pomelo.dailyActivity
{
//---------------------------------------------------------------------------------------
///
/// 日常活动信息
///
[global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"DailyInfo")]
public partial class DailyInfo : global::ProtoBuf.IExtensible
{
public DailyInfo() {}
private int _id;
///
/// 活动id
///
[global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
public int id
{
get { return _id; }
set { _id = value; }
}
private int _cur_num = default(int);
///
/// 当前完成次数
///
[global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"cur_num", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
[global::System.ComponentModel.DefaultValue(default(int))]
public int cur_num
{
get { return _cur_num; }
set { _cur_num = value; }
}
private int _max_num = default(int);
///
/// 每日可参与最大次数(0 表示不限)
///
[global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"max_num", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
[global::System.ComponentModel.DefaultValue(default(int))]
public int max_num
{
get { return _max_num; }
set { _max_num = value; }
}
private int _perDegree = default(int);
///
/// 每次活跃度
///
[global::ProtoBuf.ProtoMember(4, IsRequired = false, Name=@"perDegree", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
[global::System.ComponentModel.DefaultValue(default(int))]
public int perDegree
{
get { return _perDegree; }
set { _perDegree = value; }
}
private int _lvLimit = default(int);
///
/// 等级限制
///
[global::ProtoBuf.ProtoMember(5, IsRequired = false, Name=@"lvLimit", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
[global::System.ComponentModel.DefaultValue(default(int))]
public int lvLimit
{
get { return _lvLimit; }
set { _lvLimit = value; }
}
private string _openPeriod = "";
///
/// 开始时间段
///
[global::ProtoBuf.ProtoMember(6, IsRequired = false, Name=@"openPeriod", DataFormat = global::ProtoBuf.DataFormat.Default)]
[global::System.ComponentModel.DefaultValue("")]
public string openPeriod
{
get { return _openPeriod; }
set { _openPeriod = value; }
}
private int _isOver = default(int);
///
/// 0:不在时间段 1:正在进行中 2:已结束
///
[global::ProtoBuf.ProtoMember(7, IsRequired = false, Name=@"isOver", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
[global::System.ComponentModel.DefaultValue(default(int))]
public int isOver
{
get { return _isOver; }
set { _isOver = value; }
}
private readonly global::System.Collections.Generic.List _awardItem = new global::System.Collections.Generic.List();
///
/// 奖励道具
///
[global::ProtoBuf.ProtoMember(8, Name=@"awardItem", DataFormat = global::ProtoBuf.DataFormat.Default)]
public global::System.Collections.Generic.List awardItem
{
get { return _awardItem; }
}
private global::ProtoBuf.IExtension extensionObject;
global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
{ return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
}
//---------------------------------------------------------------------------------------
///
/// 活跃度奖励
///
[global::System.Serializable, global::ProtoBuf.ProtoContract(Name=@"DegreeInfo")]
public partial class DegreeInfo : global::ProtoBuf.IExtensible
{
public DegreeInfo() {}
private int _id;
///
/// 活跃度id
///
[global::ProtoBuf.ProtoMember(1, IsRequired = true, Name=@"id", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
public int id
{
get { return _id; }
set { _id = value; }
}
private int _needDegree = default(int);
///
/// 所需活跃度
///
[global::ProtoBuf.ProtoMember(2, IsRequired = false, Name=@"needDegree", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
[global::System.ComponentModel.DefaultValue(default(int))]
public int needDegree
{
get { return _needDegree; }
set { _needDegree = value; }
}
private int _state = default(int);
///
/// 领取状态 0 :未达到 1:可领取 2:已领取
///
[global::ProtoBuf.ProtoMember(3, IsRequired = false, Name=@"state", DataFormat = global::ProtoBuf.DataFormat.TwosComplement)]
[global::System.ComponentModel.DefaultValue(default(int))]
public int state
{
get { return _state; }
set { _state = value; }
}
private readonly global::System.Collections.Generic.List _awardItem = new global::System.Collections.Generic.List();
///
/// 奖励道具
///
[global::ProtoBuf.ProtoMember(4, Name=@"awardItem", DataFormat = global::ProtoBuf.DataFormat.Default)]
public global::System.Collections.Generic.List awardItem
{
get { return _awardItem; }
}
private global::ProtoBuf.IExtension extensionObject;
global::ProtoBuf.IExtension global::ProtoBuf.IExtensible.GetExtensionObject(bool createIfMissing)
{ return global::ProtoBuf.Extensible.GetExtensionObject(ref extensionObject, createIfMissing); }
}
}