package domain

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

	/*
	   商品池活动的梯度列表     */
	RuleStairs *[]AlibabaWdkMarketingItempoolQueryactivityRulestairs `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 *AlibabaWdkMarketingItempoolQueryactivityItemPoolActivity) SetLimitInfo(v AlibabaWdkMarketingItempoolQueryactivityLimitInfo) *AlibabaWdkMarketingItempoolQueryactivityItemPoolActivity {
	s.LimitInfo = &v
	return s
}
func (s *AlibabaWdkMarketingItempoolQueryactivityItemPoolActivity) SetRuleStairs(v []AlibabaWdkMarketingItempoolQueryactivityRulestairs) *AlibabaWdkMarketingItempoolQueryactivityItemPoolActivity {
	s.RuleStairs = &v
	return s
}
func (s *AlibabaWdkMarketingItempoolQueryactivityItemPoolActivity) SetOutActId(v string) *AlibabaWdkMarketingItempoolQueryactivityItemPoolActivity {
	s.OutActId = &v
	return s
}
func (s *AlibabaWdkMarketingItempoolQueryactivityItemPoolActivity) SetActivityId(v int64) *AlibabaWdkMarketingItempoolQueryactivityItemPoolActivity {
	s.ActivityId = &v
	return s
}
func (s *AlibabaWdkMarketingItempoolQueryactivityItemPoolActivity) SetActivityName(v string) *AlibabaWdkMarketingItempoolQueryactivityItemPoolActivity {
	s.ActivityName = &v
	return s
}
func (s *AlibabaWdkMarketingItempoolQueryactivityItemPoolActivity) SetDescription(v string) *AlibabaWdkMarketingItempoolQueryactivityItemPoolActivity {
	s.Description = &v
	return s
}
func (s *AlibabaWdkMarketingItempoolQueryactivityItemPoolActivity) SetStartTime(v int64) *AlibabaWdkMarketingItempoolQueryactivityItemPoolActivity {
	s.StartTime = &v
	return s
}
func (s *AlibabaWdkMarketingItempoolQueryactivityItemPoolActivity) SetEndTime(v int64) *AlibabaWdkMarketingItempoolQueryactivityItemPoolActivity {
	s.EndTime = &v
	return s
}
func (s *AlibabaWdkMarketingItempoolQueryactivityItemPoolActivity) SetTerminals(v []int64) *AlibabaWdkMarketingItempoolQueryactivityItemPoolActivity {
	s.Terminals = &v
	return s
}
func (s *AlibabaWdkMarketingItempoolQueryactivityItemPoolActivity) SetMemberLimit(v int64) *AlibabaWdkMarketingItempoolQueryactivityItemPoolActivity {
	s.MemberLimit = &v
	return s
}
func (s *AlibabaWdkMarketingItempoolQueryactivityItemPoolActivity) SetShopIds(v []string) *AlibabaWdkMarketingItempoolQueryactivityItemPoolActivity {
	s.ShopIds = &v
	return s
}
func (s *AlibabaWdkMarketingItempoolQueryactivityItemPoolActivity) SetMerchantCrowdCode(v string) *AlibabaWdkMarketingItempoolQueryactivityItemPoolActivity {
	s.MerchantCrowdCode = &v
	return s
}
func (s *AlibabaWdkMarketingItempoolQueryactivityItemPoolActivity) SetTxdCrowdCode(v string) *AlibabaWdkMarketingItempoolQueryactivityItemPoolActivity {
	s.TxdCrowdCode = &v
	return s
}
