| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- package space.anyi.entity;
- import java.io.Serializable;
- import java.math.BigDecimal;
- import java.util.Date;
- public class Cake implements Serializable {
- private Integer id;
- private Integer categoryId;
- private String name;
- private String description;
- private BigDecimal basePrice;
- private String mainImage;
- private String taste;
- private String layers;
- private String filling;
- private String style;
- private Integer isCustomizable;
- private Integer isNew;
- private Integer isHot;
- private Integer isDiscount;
- private BigDecimal discountPrice;
- private Integer stock;
- private String status;
- private Integer salesCount;
- private Date createTime;
- private Date updateTime;
- public Cake() {}
- public Integer getId() { return id; }
- public void setId(Integer id) { this.id = id; }
- public Integer getCategoryId() { return categoryId; }
- public void setCategoryId(Integer categoryId) { this.categoryId = categoryId; }
- public String getName() { return name; }
- public void setName(String name) { this.name = name; }
- public String getDescription() { return description; }
- public void setDescription(String description) { this.description = description; }
- public BigDecimal getBasePrice() { return basePrice; }
- public void setBasePrice(BigDecimal basePrice) { this.basePrice = basePrice; }
- public String getMainImage() { return mainImage; }
- public void setMainImage(String mainImage) { this.mainImage = mainImage; }
- public String getTaste() { return taste; }
- public void setTaste(String taste) { this.taste = taste; }
- public String getLayers() { return layers; }
- public void setLayers(String layers) { this.layers = layers; }
- public String getFilling() { return filling; }
- public void setFilling(String filling) { this.filling = filling; }
- public String getStyle() { return style; }
- public void setStyle(String style) { this.style = style; }
- public Integer getIsCustomizable() { return isCustomizable; }
- public void setIsCustomizable(Integer isCustomizable) { this.isCustomizable = isCustomizable; }
- public Integer getIsNew() { return isNew; }
- public void setIsNew(Integer isNew) { this.isNew = isNew; }
- public Integer getIsHot() { return isHot; }
- public void setIsHot(Integer isHot) { this.isHot = isHot; }
- public Integer getIsDiscount() { return isDiscount; }
- public void setIsDiscount(Integer isDiscount) { this.isDiscount = isDiscount; }
- public BigDecimal getDiscountPrice() { return discountPrice; }
- public void setDiscountPrice(BigDecimal discountPrice) { this.discountPrice = discountPrice; }
- public Integer getStock() { return stock; }
- public void setStock(Integer stock) { this.stock = stock; }
- public String getStatus() { return status; }
- public void setStatus(String status) { this.status = status; }
- public Integer getSalesCount() { return salesCount; }
- public void setSalesCount(Integer salesCount) { this.salesCount = salesCount; }
- public Date getCreateTime() { return createTime; }
- public void setCreateTime(Date createTime) { this.createTime = createTime; }
- public Date getUpdateTime() { return updateTime; }
- public void setUpdateTime(Date updateTime) { this.updateTime = updateTime; }
- @Override
- public String toString() {
- return "Cake{id=" + id + ", name='" + name + "', basePrice=" + basePrice + "}";
- }
- }
|