|
|
@@ -58,6 +58,18 @@ class ResponsePromotionInfo extends \Google\Protobuf\Internal\Message
|
|
|
* Generated from protobuf field <code>int64 direct_active_count = 7;</code>
|
|
|
*/
|
|
|
protected $direct_active_count = 0;
|
|
|
+ /**
|
|
|
+ * 今天的收益 (推广收益和种植收益)
|
|
|
+ *
|
|
|
+ * Generated from protobuf field <code>.uraus.kku.Common.Reward today_reward = 8;</code>
|
|
|
+ */
|
|
|
+ protected $today_reward = null;
|
|
|
+ /**
|
|
|
+ * 总收益(推广收益和种植收益)
|
|
|
+ *
|
|
|
+ * Generated from protobuf field <code>.uraus.kku.Common.Reward total_reward = 9;</code>
|
|
|
+ */
|
|
|
+ protected $total_reward = null;
|
|
|
|
|
|
/**
|
|
|
* Constructor.
|
|
|
@@ -79,6 +91,10 @@ class ResponsePromotionInfo extends \Google\Protobuf\Internal\Message
|
|
|
* 团队活跃人数
|
|
|
* @type int|string $direct_active_count
|
|
|
* 直推活跃人数
|
|
|
+ * @type \Uraus\Kku\Common\Reward $today_reward
|
|
|
+ * 今天的收益 (推广收益和种植收益)
|
|
|
+ * @type \Uraus\Kku\Common\Reward $total_reward
|
|
|
+ * 总收益(推广收益和种植收益)
|
|
|
* }
|
|
|
*/
|
|
|
public function __construct($data = NULL) {
|
|
|
@@ -268,6 +284,78 @@ class ResponsePromotionInfo extends \Google\Protobuf\Internal\Message
|
|
|
return $this;
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 今天的收益 (推广收益和种植收益)
|
|
|
+ *
|
|
|
+ * Generated from protobuf field <code>.uraus.kku.Common.Reward today_reward = 8;</code>
|
|
|
+ * @return \Uraus\Kku\Common\Reward
|
|
|
+ */
|
|
|
+ public function getTodayReward()
|
|
|
+ {
|
|
|
+ return isset($this->today_reward) ? $this->today_reward : null;
|
|
|
+ }
|
|
|
+
|
|
|
+ public function hasTodayReward()
|
|
|
+ {
|
|
|
+ return isset($this->today_reward);
|
|
|
+ }
|
|
|
+
|
|
|
+ public function clearTodayReward()
|
|
|
+ {
|
|
|
+ unset($this->today_reward);
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 今天的收益 (推广收益和种植收益)
|
|
|
+ *
|
|
|
+ * Generated from protobuf field <code>.uraus.kku.Common.Reward today_reward = 8;</code>
|
|
|
+ * @param \Uraus\Kku\Common\Reward $var
|
|
|
+ * @return $this
|
|
|
+ */
|
|
|
+ public function setTodayReward($var)
|
|
|
+ {
|
|
|
+ GPBUtil::checkMessage($var, \Uraus\Kku\Common\Reward::class);
|
|
|
+ $this->today_reward = $var;
|
|
|
+
|
|
|
+ return $this;
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 总收益(推广收益和种植收益)
|
|
|
+ *
|
|
|
+ * Generated from protobuf field <code>.uraus.kku.Common.Reward total_reward = 9;</code>
|
|
|
+ * @return \Uraus\Kku\Common\Reward
|
|
|
+ */
|
|
|
+ public function getTotalReward()
|
|
|
+ {
|
|
|
+ return isset($this->total_reward) ? $this->total_reward : null;
|
|
|
+ }
|
|
|
+
|
|
|
+ public function hasTotalReward()
|
|
|
+ {
|
|
|
+ return isset($this->total_reward);
|
|
|
+ }
|
|
|
+
|
|
|
+ public function clearTotalReward()
|
|
|
+ {
|
|
|
+ unset($this->total_reward);
|
|
|
+ }
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 总收益(推广收益和种植收益)
|
|
|
+ *
|
|
|
+ * Generated from protobuf field <code>.uraus.kku.Common.Reward total_reward = 9;</code>
|
|
|
+ * @param \Uraus\Kku\Common\Reward $var
|
|
|
+ * @return $this
|
|
|
+ */
|
|
|
+ public function setTotalReward($var)
|
|
|
+ {
|
|
|
+ GPBUtil::checkMessage($var, \Uraus\Kku\Common\Reward::class);
|
|
|
+ $this->total_reward = $var;
|
|
|
+
|
|
|
+ return $this;
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
|
|
|
// Adding a class alias for backwards compatibility with the previous class name.
|