package com.ishop.model.response;
|
|
import java.io.Serializable;
|
|
public class CartInfoResponse implements Serializable {
|
|
public Long getId() {
|
return id;
|
}
|
|
public void setId(Long id) {
|
this.id = id;
|
}
|
|
public Long getProductId() {
|
return productId;
|
}
|
|
public void setProductId(Long productId) {
|
this.productId = productId;
|
}
|
|
public String getProductAttrUnique() {
|
return productAttrUnique;
|
}
|
|
public void setProductAttrUnique(String productAttrUnique) {
|
this.productAttrUnique = productAttrUnique;
|
}
|
|
public Integer getCartNum() {
|
return cartNum;
|
}
|
|
public void setCartNum(Integer cartNum) {
|
this.cartNum = cartNum;
|
}
|
|
public String getImage() {
|
return image;
|
}
|
|
public void setImage(String image) {
|
this.image = image;
|
}
|
|
public String getProName() {
|
return proName;
|
}
|
|
public void setProName(String proName) {
|
this.proName = proName;
|
}
|
|
public Integer getAttrId() {
|
return attrId;
|
}
|
|
public void setAttrId(Integer attrId) {
|
this.attrId = attrId;
|
}
|
|
public String getSku() {
|
return sku;
|
}
|
|
public void setSku(String sku) {
|
this.sku = sku;
|
}
|
|
public Double getPrice() {
|
return price;
|
}
|
|
public void setPrice(Double price) {
|
this.price = price;
|
}
|
|
/**
|
* 商品是否有效
|
* @return
|
*/
|
public Boolean getAttrStatus() {
|
return attrStatus;
|
}
|
|
public void setAttrStatus(Boolean attrStatus) {
|
this.attrStatus = attrStatus;
|
}
|
|
public Integer getStock() {
|
return stock;
|
}
|
|
public void setStock(Integer stock) {
|
this.stock = stock;
|
}
|
|
// @ApiModelProperty(value = "购物车表ID")
|
private Long id;
|
|
// @ApiModelProperty(value = "商品ID")
|
private Long productId;
|
|
// @ApiModelProperty(value = "商品属性")
|
private String productAttrUnique;
|
|
// @ApiModelProperty(value = "商品数量")
|
private Integer cartNum;
|
|
// @ApiModelProperty(value = "商品图片")
|
private String image;
|
|
// @ApiModelProperty(value = "商品名称")
|
private String proName;
|
|
// @ApiModelProperty(value = "商品规格id")
|
private Integer attrId;
|
|
// @ApiModelProperty(value = "商品属性sku")
|
private String sku;
|
|
// @ApiModelProperty(value = "sku价格")
|
private Double price;
|
|
// @ApiModelProperty(value = "商品是否有效")
|
private Boolean attrStatus;
|
|
// @ApiModelProperty(value = "sku库存")
|
private Integer stock;
|
}
|