package domain

type AlibabaWdkMarketingItembuygiftCreateactivityItemBuyGiftActivity struct {
	/*
	   活动开始时间,时间戳     */
	StartTime *int64 `json:"start_time,omitempty" `

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

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

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

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

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

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

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

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

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

func (s *AlibabaWdkMarketingItembuygiftCreateactivityItemBuyGiftActivity) SetStartTime(v int64) *AlibabaWdkMarketingItembuygiftCreateactivityItemBuyGiftActivity {
	s.StartTime = &v
	return s
}
func (s *AlibabaWdkMarketingItembuygiftCreateactivityItemBuyGiftActivity) SetTerminals(v []int32) *AlibabaWdkMarketingItembuygiftCreateactivityItemBuyGiftActivity {
	s.Terminals = &v
	return s
}
func (s *AlibabaWdkMarketingItembuygiftCreateactivityItemBuyGiftActivity) SetDescription(v string) *AlibabaWdkMarketingItembuygiftCreateactivityItemBuyGiftActivity {
	s.Description = &v
	return s
}
func (s *AlibabaWdkMarketingItembuygiftCreateactivityItemBuyGiftActivity) SetOutActId(v string) *AlibabaWdkMarketingItembuygiftCreateactivityItemBuyGiftActivity {
	s.OutActId = &v
	return s
}
func (s *AlibabaWdkMarketingItembuygiftCreateactivityItemBuyGiftActivity) SetShopIds(v []string) *AlibabaWdkMarketingItembuygiftCreateactivityItemBuyGiftActivity {
	s.ShopIds = &v
	return s
}
func (s *AlibabaWdkMarketingItembuygiftCreateactivityItemBuyGiftActivity) SetEndTime(v int64) *AlibabaWdkMarketingItembuygiftCreateactivityItemBuyGiftActivity {
	s.EndTime = &v
	return s
}
func (s *AlibabaWdkMarketingItembuygiftCreateactivityItemBuyGiftActivity) SetActivityName(v string) *AlibabaWdkMarketingItembuygiftCreateactivityItemBuyGiftActivity {
	s.ActivityName = &v
	return s
}
func (s *AlibabaWdkMarketingItembuygiftCreateactivityItemBuyGiftActivity) SetMemberLimit(v int64) *AlibabaWdkMarketingItembuygiftCreateactivityItemBuyGiftActivity {
	s.MemberLimit = &v
	return s
}
func (s *AlibabaWdkMarketingItembuygiftCreateactivityItemBuyGiftActivity) SetMerchantCrowdCode(v string) *AlibabaWdkMarketingItembuygiftCreateactivityItemBuyGiftActivity {
	s.MerchantCrowdCode = &v
	return s
}
func (s *AlibabaWdkMarketingItembuygiftCreateactivityItemBuyGiftActivity) SetTxdCrowdCode(v string) *AlibabaWdkMarketingItembuygiftCreateactivityItemBuyGiftActivity {
	s.TxdCrowdCode = &v
	return s
}
