package domain

type AlibabaHmMarketingFullrangeQueryactivityItemPoolActivity struct {
	/*
	   通用限购信息，-1为不限制，默认为不限制     */
	LimitInfo *AlibabaHmMarketingFullrangeQueryactivityLimitInfo `json:"limit_info,omitempty" `

	/*
	   活动的梯度列表     */
	RuleStairs *[]AlibabaHmMarketingFullrangeQueryactivityRulestairs `json:"rule_stairs,omitempty" `

	/*
	   商家活动id     */
	OutActId *string `json:"out_act_id,omitempty" `

	/*
	   报名活动Id     */
	ActivityId *int64 `json:"activity_id,omitempty" `

	/*
	   活动名称     */
	ActivityName *string `json:"activity_name,omitempty" `

	/*
	   活动描述     */
	Description *string `json:"description,omitempty" `

	/*
	   startTime     */
	StartTime *int64 `json:"start_time,omitempty" `

	/*
	   endTime     */
	EndTime *int64 `json:"end_time,omitempty" `

	/*
	   优惠适用场景:APP|POS|POS+APP 分别对应的值为1|2|1,2     */
	Terminals *[]int64 `json:"terminals,omitempty" `

	/*
	   会员维度活动参与人群限制：-1:不限制 1:会员专享 2:非会员专享     */
	MemberLimit *int64 `json:"member_limit,omitempty" `

	/*
	   shopIds     */
	ShopIds *[]string `json:"shop_ids,omitempty" `

	/*
	   merchantCrowdCode     */
	MerchantCrowdCode *string `json:"merchant_crowd_code,omitempty" `

	/*
	   txdCrowdCode     */
	TxdCrowdCode *string `json:"txd_crowd_code,omitempty" `
}

func (s *AlibabaHmMarketingFullrangeQueryactivityItemPoolActivity) SetLimitInfo(v AlibabaHmMarketingFullrangeQueryactivityLimitInfo) *AlibabaHmMarketingFullrangeQueryactivityItemPoolActivity {
	s.LimitInfo = &v
	return s
}
func (s *AlibabaHmMarketingFullrangeQueryactivityItemPoolActivity) SetRuleStairs(v []AlibabaHmMarketingFullrangeQueryactivityRulestairs) *AlibabaHmMarketingFullrangeQueryactivityItemPoolActivity {
	s.RuleStairs = &v
	return s
}
func (s *AlibabaHmMarketingFullrangeQueryactivityItemPoolActivity) SetOutActId(v string) *AlibabaHmMarketingFullrangeQueryactivityItemPoolActivity {
	s.OutActId = &v
	return s
}
func (s *AlibabaHmMarketingFullrangeQueryactivityItemPoolActivity) SetActivityId(v int64) *AlibabaHmMarketingFullrangeQueryactivityItemPoolActivity {
	s.ActivityId = &v
	return s
}
func (s *AlibabaHmMarketingFullrangeQueryactivityItemPoolActivity) SetActivityName(v string) *AlibabaHmMarketingFullrangeQueryactivityItemPoolActivity {
	s.ActivityName = &v
	return s
}
func (s *AlibabaHmMarketingFullrangeQueryactivityItemPoolActivity) SetDescription(v string) *AlibabaHmMarketingFullrangeQueryactivityItemPoolActivity {
	s.Description = &v
	return s
}
func (s *AlibabaHmMarketingFullrangeQueryactivityItemPoolActivity) SetStartTime(v int64) *AlibabaHmMarketingFullrangeQueryactivityItemPoolActivity {
	s.StartTime = &v
	return s
}
func (s *AlibabaHmMarketingFullrangeQueryactivityItemPoolActivity) SetEndTime(v int64) *AlibabaHmMarketingFullrangeQueryactivityItemPoolActivity {
	s.EndTime = &v
	return s
}
func (s *AlibabaHmMarketingFullrangeQueryactivityItemPoolActivity) SetTerminals(v []int64) *AlibabaHmMarketingFullrangeQueryactivityItemPoolActivity {
	s.Terminals = &v
	return s
}
func (s *AlibabaHmMarketingFullrangeQueryactivityItemPoolActivity) SetMemberLimit(v int64) *AlibabaHmMarketingFullrangeQueryactivityItemPoolActivity {
	s.MemberLimit = &v
	return s
}
func (s *AlibabaHmMarketingFullrangeQueryactivityItemPoolActivity) SetShopIds(v []string) *AlibabaHmMarketingFullrangeQueryactivityItemPoolActivity {
	s.ShopIds = &v
	return s
}
func (s *AlibabaHmMarketingFullrangeQueryactivityItemPoolActivity) SetMerchantCrowdCode(v string) *AlibabaHmMarketingFullrangeQueryactivityItemPoolActivity {
	s.MerchantCrowdCode = &v
	return s
}
func (s *AlibabaHmMarketingFullrangeQueryactivityItemPoolActivity) SetTxdCrowdCode(v string) *AlibabaHmMarketingFullrangeQueryactivityItemPoolActivity {
	s.TxdCrowdCode = &v
	return s
}
