eleme.openapi.sdk.api.entity.order.FoodItem Maven / Gradle / Ivy
The newest version!
package eleme.openapi.sdk.api.entity.order;
import eleme.openapi.sdk.api.enumeration.order.*;
import eleme.openapi.sdk.api.entity.order.*;
import java.util.*;
import java.math.BigDecimal;
import com.fasterxml.jackson.annotation.JsonFormat;
public class FoodItem{
/**
* 套餐子商品分组id
*/
private long groupId;
public long getGroupId() {
return groupId;
}
public void setGroupId(long groupId) {
this.groupId = groupId;
}
/**
* 套餐子商品foodId
*/
private long id;
public long getId() {
return id;
}
public void setId(long id) {
this.id = id;
}
/**
* 套餐子商品数量
*/
private double quantity;
public double getQuantity() {
return quantity;
}
public void setQuantity(double quantity) {
this.quantity = quantity;
}
/**
* 价格
*/
private double price;
public double getPrice() {
return price;
}
public void setPrice(double price) {
this.price = price;
}
/**
* 阶梯定价的场景下为总价,非阶梯定价场景为单价
*/
private double addPrice;
public double getAddPrice() {
return addPrice;
}
public void setAddPrice(double addPrice) {
this.addPrice = addPrice;
}
/**
* 是否阶梯定价
*/
private boolean stepPrice;
public boolean getStepPrice() {
return stepPrice;
}
public void setStepPrice(boolean stepPrice) {
this.stepPrice = stepPrice;
}
/**
* 套餐子商品skuId
*/
private String skuId;
public String getSkuId() {
return skuId;
}
public void setSkuId(String skuId) {
this.skuId = skuId;
}
/**
* 套餐子商品名称
*/
private String name;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
/**
* 套餐子商品规格
*/
private List newSpecs;
public List getNewSpecs() {
return newSpecs;
}
public void setNewSpecs(List newSpecs) {
this.newSpecs = newSpecs;
}
/**
* 套餐子商品属性
*/
private List attrs;
public List getAttrs() {
return attrs;
}
public void setAttrs(List attrs) {
this.attrs = attrs;
}
/**
* 商品编码
*/
private String eleItemCode;
public String getEleItemCode() {
return eleItemCode;
}
public void setEleItemCode(String eleItemCode) {
this.eleItemCode = eleItemCode;
}
/**
* 商品upc编码
*/
private String upcCode;
public String getUpcCode() {
return upcCode;
}
public void setUpcCode(String upcCode) {
this.upcCode = upcCode;
}
/**
* 商品扩展编码
*/
private String extendCode;
public String getExtendCode() {
return extendCode;
}
public void setExtendCode(String extendCode) {
this.extendCode = extendCode;
}
/**
* 套餐子商品子项。注:结构与套餐子商品保持一致
*/
private List subFoodGroupItem;
public List getSubFoodGroupItem() {
return subFoodGroupItem;
}
public void setSubFoodGroupItem(List subFoodGroupItem) {
this.subFoodGroupItem = subFoodGroupItem;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy