eleme.openapi.sdk.api.entity.activity.SkuPriceActivityDTO Maven / Gradle / Ivy
The newest version!
package eleme.openapi.sdk.api.entity.activity;
import eleme.openapi.sdk.api.enumeration.activity.*;
import eleme.openapi.sdk.api.entity.activity.*;
import java.util.*;
import java.math.BigDecimal;
import com.fasterxml.jackson.annotation.JsonFormat;
public class SkuPriceActivityDTO{
/**
* 第N份商品优惠(不能小于1)
*/
private Integer condition;
public Integer getCondition() {
return condition;
}
public void setCondition(Integer condition) {
this.condition = condition;
}
/**
* 是否每份商品优惠(1:是 0:不是)
*/
private Integer conditionType;
public Integer getConditionType() {
return conditionType;
}
public void setConditionType(Integer conditionType) {
this.conditionType = conditionType;
}
/**
* 活动价格
*/
private BigDecimal benefit;
public BigDecimal getBenefit() {
return benefit;
}
public void setBenefit(BigDecimal benefit) {
this.benefit = benefit;
}
/**
* 库存属性
*/
private SkuActivityStockDTO stockDTO;
public SkuActivityStockDTO getStockDTO() {
return stockDTO;
}
public void setStockDTO(SkuActivityStockDTO stockDTO) {
this.stockDTO = stockDTO;
}
/**
* 活动名称
*/
private String name;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
/**
* 活动内容描述
*/
private String description;
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
/**
* 活动icon
*/
private Icon icon;
public Icon getIcon() {
return icon;
}
public void setIcon(Icon icon) {
this.icon = icon;
}
/**
* 活动生效时间区间信息
*/
private ActivityDateTime activityTime;
public ActivityDateTime getActivityTime() {
return activityTime;
}
public void setActivityTime(ActivityDateTime activityTime) {
this.activityTime = activityTime;
}
/**
* 每单限购只能是1
*/
private Integer effectTimes;
public Integer getEffectTimes() {
return effectTimes;
}
public void setEffectTimes(Integer effectTimes) {
this.effectTimes = effectTimes;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy