package domain

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

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

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

	/*
	   参加活动的渠道店ids     */
	ShopIds *[]string `json:"shop_ids,omitempty" `

	/*
	   活动结束时间，时间戳     */
	EndTime *int64 `json:"end_time,omitempty" `

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

	/*
	   活动开始时间，时间戳     */
	StartTime *int64 `json:"start_time,omitempty" `

	/*
	   活动详情描述,不超过30个英文字符     */
	Description *string `json:"description,omitempty" `

	/*
	   活动名称,不超过10个英文字符     */
	ActivityName *string `json:"activity_name,omitempty" `

	/*
	   商家人群编码     */
	MerchantCrowdCode *string `json:"merchant_crowd_code,omitempty" `

	/*
	   淘鲜达人群编码     */
	TxdCrowdCode *string `json:"txd_crowd_code,omitempty" `
}

func (s *AlibabaWdkMarketingFullrangeCreateactivityFullRangeActivity) SetLimitInfo(v AlibabaWdkMarketingFullrangeCreateactivityLimitInfo) *AlibabaWdkMarketingFullrangeCreateactivityFullRangeActivity {
	s.LimitInfo = &v
	return s
}
func (s *AlibabaWdkMarketingFullrangeCreateactivityFullRangeActivity) SetTerminals(v []int32) *AlibabaWdkMarketingFullrangeCreateactivityFullRangeActivity {
	s.Terminals = &v
	return s
}
func (s *AlibabaWdkMarketingFullrangeCreateactivityFullRangeActivity) SetOutActId(v string) *AlibabaWdkMarketingFullrangeCreateactivityFullRangeActivity {
	s.OutActId = &v
	return s
}
func (s *AlibabaWdkMarketingFullrangeCreateactivityFullRangeActivity) SetShopIds(v []string) *AlibabaWdkMarketingFullrangeCreateactivityFullRangeActivity {
	s.ShopIds = &v
	return s
}
func (s *AlibabaWdkMarketingFullrangeCreateactivityFullRangeActivity) SetEndTime(v int64) *AlibabaWdkMarketingFullrangeCreateactivityFullRangeActivity {
	s.EndTime = &v
	return s
}
func (s *AlibabaWdkMarketingFullrangeCreateactivityFullRangeActivity) SetRuleStairs(v []AlibabaWdkMarketingFullrangeCreateactivityRulestairs) *AlibabaWdkMarketingFullrangeCreateactivityFullRangeActivity {
	s.RuleStairs = &v
	return s
}
func (s *AlibabaWdkMarketingFullrangeCreateactivityFullRangeActivity) SetStartTime(v int64) *AlibabaWdkMarketingFullrangeCreateactivityFullRangeActivity {
	s.StartTime = &v
	return s
}
func (s *AlibabaWdkMarketingFullrangeCreateactivityFullRangeActivity) SetDescription(v string) *AlibabaWdkMarketingFullrangeCreateactivityFullRangeActivity {
	s.Description = &v
	return s
}
func (s *AlibabaWdkMarketingFullrangeCreateactivityFullRangeActivity) SetActivityName(v string) *AlibabaWdkMarketingFullrangeCreateactivityFullRangeActivity {
	s.ActivityName = &v
	return s
}
func (s *AlibabaWdkMarketingFullrangeCreateactivityFullRangeActivity) SetMerchantCrowdCode(v string) *AlibabaWdkMarketingFullrangeCreateactivityFullRangeActivity {
	s.MerchantCrowdCode = &v
	return s
}
func (s *AlibabaWdkMarketingFullrangeCreateactivityFullRangeActivity) SetTxdCrowdCode(v string) *AlibabaWdkMarketingFullrangeCreateactivityFullRangeActivity {
	s.TxdCrowdCode = &v
	return s
}
