package domain


type AlibabaRetailMarketingItempoolActivityCreateExchangeRuleDto struct {
    /*
        每组最大购买数量, 单次下单可换购的不同sku商品数。换购分组该字段为必填     */
    MaxBuyNum  *int64 `json:"max_buy_num,omitempty" `

    /*
        换购分组顺序 defalutValue:1    */
    OrderNum  *int64 `json:"order_num,omitempty" `

}

func (s *AlibabaRetailMarketingItempoolActivityCreateExchangeRuleDto) SetMaxBuyNum(v int64) *AlibabaRetailMarketingItempoolActivityCreateExchangeRuleDto {
    s.MaxBuyNum = &v
    return s
}
func (s *AlibabaRetailMarketingItempoolActivityCreateExchangeRuleDto) SetOrderNum(v int64) *AlibabaRetailMarketingItempoolActivityCreateExchangeRuleDto {
    s.OrderNum = &v
    return s
}
