package com.matrix.system.hive.bean;
|
|
import com.matrix.core.anotations.Extend;
|
|
import java.io.Serializable;
|
|
/**
|
* @date 2016-08-12 17:57
|
*/
|
public class ShoppingGoodsAssemble implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
|
private Long id;
|
|
/**
|
* --- 综合卡绑定商品id
|
* 修改为 组合产品id
|
*/
|
private Long assembleGoodId;
|
/**
|
* 商城商品id
|
*/
|
private Long shoppingGoodsId;
|
|
/**
|
* 组合sku id
|
*/
|
private Long assembleSkuId;
|
|
|
/**
|
* 项目id
|
*/
|
private Long assembleProjId;
|
|
/**
|
* 项目单次划扣数量,默认设置为1
|
*/
|
private Integer deductionNum = 1;
|
|
/**
|
* 项目次数或者sku的数量
|
*/
|
private Integer total;
|
|
/**
|
* 状态:上架、下架
|
*/
|
private String status;
|
/**
|
* sku或者项目的绑定的价格
|
*/
|
private Double price;
|
|
|
|
|
/**
|
* 绑定产品
|
*/
|
@Extend
|
private SysGoods goods;
|
|
/**
|
* 项目信息
|
*/
|
@Extend
|
private ShoppingGoods shoppingGoods;
|
|
|
public SysGoods getGoods() {
|
return goods;
|
}
|
|
public void setGoods(SysGoods goods) {
|
this.goods = goods;
|
}
|
|
public ShoppingGoods getShoppingGoods() {
|
return shoppingGoods;
|
}
|
|
public void setShoppingGoods(ShoppingGoods shoppingGoods) {
|
this.shoppingGoods = shoppingGoods;
|
}
|
|
public Long getAssembleGoodId() {
|
return assembleGoodId;
|
}
|
|
public void setAssembleGoodId(Long assembleGoodId) {
|
this.assembleGoodId = assembleGoodId;
|
}
|
|
|
public Long getId() {
|
return id;
|
}
|
|
public void setId(Long id) {
|
this.id = id;
|
}
|
|
|
public Long getShoppingGoodsId() {
|
return shoppingGoodsId;
|
}
|
|
public void setShoppingGoodsId(Long shoppingGoodsId) {
|
this.shoppingGoodsId = shoppingGoodsId;
|
}
|
|
|
public Long getAssembleSkuId() {
|
return assembleSkuId;
|
}
|
|
public void setAssembleSkuId(Long assembleSkuId) {
|
this.assembleSkuId = assembleSkuId;
|
}
|
|
|
public Long getAssembleProjId() {
|
return assembleProjId;
|
}
|
|
public void setAssembleProjId(Long assembleProjId) {
|
this.assembleProjId = assembleProjId;
|
}
|
|
public String getStatus() {
|
return status;
|
}
|
|
public void setStatus(String status) {
|
this.status = status;
|
}
|
|
public Double getPrice() {
|
return price;
|
}
|
|
public void setPrice(Double price) {
|
this.price = price;
|
}
|
|
public Integer getTotal() {
|
return total;
|
}
|
|
public void setTotal(Integer total) {
|
this.total = total;
|
}
|
|
|
public Integer getDeductionNum() {
|
return deductionNum;
|
}
|
|
public void setDeductionNum(Integer deductionNum) {
|
this.deductionNum = deductionNum;
|
}
|
|
|
}
|