package domain

type AlibabaWdkMarketingItempoolCreateactivityItemPoolActivity struct {
	/*
	   通用限购信息，-1为不限制，默认为不限制     */
	LimitInfo *AlibabaWdkMarketingItempoolCreateactivityLimitInfo `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 *[]AlibabaWdkMarketingItempoolCreateactivityRulestairs `json:"rule_stairs,omitempty" `

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

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

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

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

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

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

	/*
	   是否是类目活动     */
	IsCategory *bool `json:"is_category,omitempty" `

	/*
	   是否自定义渠道同步 defalutValue:false    */
	ByChannel *bool `json:"by_channel,omitempty" `

	/*
	   自定义同步渠道配置     */
	ChannelConfigList *[]AlibabaWdkMarketingItempoolCreateactivityChannelConfig `json:"channel_config_list,omitempty" `
}

func (s *AlibabaWdkMarketingItempoolCreateactivityItemPoolActivity) SetLimitInfo(v AlibabaWdkMarketingItempoolCreateactivityLimitInfo) *AlibabaWdkMarketingItempoolCreateactivityItemPoolActivity {
	s.LimitInfo = &v
	return s
}
func (s *AlibabaWdkMarketingItempoolCreateactivityItemPoolActivity) SetTerminals(v []int32) *AlibabaWdkMarketingItempoolCreateactivityItemPoolActivity {
	s.Terminals = &v
	return s
}
func (s *AlibabaWdkMarketingItempoolCreateactivityItemPoolActivity) SetOutActId(v string) *AlibabaWdkMarketingItempoolCreateactivityItemPoolActivity {
	s.OutActId = &v
	return s
}
func (s *AlibabaWdkMarketingItempoolCreateactivityItemPoolActivity) SetShopIds(v []string) *AlibabaWdkMarketingItempoolCreateactivityItemPoolActivity {
	s.ShopIds = &v
	return s
}
func (s *AlibabaWdkMarketingItempoolCreateactivityItemPoolActivity) SetEndTime(v int64) *AlibabaWdkMarketingItempoolCreateactivityItemPoolActivity {
	s.EndTime = &v
	return s
}
func (s *AlibabaWdkMarketingItempoolCreateactivityItemPoolActivity) SetRuleStairs(v []AlibabaWdkMarketingItempoolCreateactivityRulestairs) *AlibabaWdkMarketingItempoolCreateactivityItemPoolActivity {
	s.RuleStairs = &v
	return s
}
func (s *AlibabaWdkMarketingItempoolCreateactivityItemPoolActivity) SetStartTime(v int64) *AlibabaWdkMarketingItempoolCreateactivityItemPoolActivity {
	s.StartTime = &v
	return s
}
func (s *AlibabaWdkMarketingItempoolCreateactivityItemPoolActivity) SetDescription(v string) *AlibabaWdkMarketingItempoolCreateactivityItemPoolActivity {
	s.Description = &v
	return s
}
func (s *AlibabaWdkMarketingItempoolCreateactivityItemPoolActivity) SetActivityName(v string) *AlibabaWdkMarketingItempoolCreateactivityItemPoolActivity {
	s.ActivityName = &v
	return s
}
func (s *AlibabaWdkMarketingItempoolCreateactivityItemPoolActivity) SetMemberLimit(v int64) *AlibabaWdkMarketingItempoolCreateactivityItemPoolActivity {
	s.MemberLimit = &v
	return s
}
func (s *AlibabaWdkMarketingItempoolCreateactivityItemPoolActivity) SetMerchantCrowdCode(v string) *AlibabaWdkMarketingItempoolCreateactivityItemPoolActivity {
	s.MerchantCrowdCode = &v
	return s
}
func (s *AlibabaWdkMarketingItempoolCreateactivityItemPoolActivity) SetTxdCrowdCode(v string) *AlibabaWdkMarketingItempoolCreateactivityItemPoolActivity {
	s.TxdCrowdCode = &v
	return s
}
func (s *AlibabaWdkMarketingItempoolCreateactivityItemPoolActivity) SetIsCategory(v bool) *AlibabaWdkMarketingItempoolCreateactivityItemPoolActivity {
	s.IsCategory = &v
	return s
}
func (s *AlibabaWdkMarketingItempoolCreateactivityItemPoolActivity) SetByChannel(v bool) *AlibabaWdkMarketingItempoolCreateactivityItemPoolActivity {
	s.ByChannel = &v
	return s
}
func (s *AlibabaWdkMarketingItempoolCreateactivityItemPoolActivity) SetChannelConfigList(v []AlibabaWdkMarketingItempoolCreateactivityChannelConfig) *AlibabaWdkMarketingItempoolCreateactivityItemPoolActivity {
	s.ChannelConfigList = &v
	return s
}
