package com.matrix.system.hive.bean;
|
|
import com.matrix.core.anotations.Extend;
|
import com.matrix.system.hive.plugin.util.NumberUtils;
|
|
import java.io.Serializable;
|
|
|
/**
|
*
|
* @date 2016-07-03 20:53
|
*/
|
public class SysProjGoods implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* id
|
*/
|
private Long id;
|
|
/**
|
* skuid
|
*/
|
private Long skuId;
|
|
/**
|
* 产品数量
|
*/
|
private Double total;
|
|
/**
|
* 对应的项目ID
|
*/
|
private Long projId;
|
|
/**
|
* 扩展属性
|
*/
|
/**
|
* 配料库存信息
|
*/
|
@Extend
|
private SysGoods goods;
|
|
|
|
|
public SysGoods getGoods() {
|
return goods;
|
}
|
|
public void setGoods(SysGoods goods) {
|
this.goods = goods;
|
}
|
|
public Long getId() {
|
return id;
|
}
|
|
public void setId(Long id) {
|
this.id = id;
|
}
|
|
public Long getSkuId() {
|
return skuId;
|
}
|
|
public void setSkuId(Long skuId) {
|
this.skuId = skuId;
|
}
|
|
public Double getTotal() {
|
return total;
|
}
|
|
public void setTotal(Double total) {
|
this.total = NumberUtils.getDoubleNum(total, 3);
|
}
|
|
public Long getProjId() {
|
return projId;
|
}
|
|
public void setProjId(Long projId) {
|
this.projId = projId;
|
}
|
|
|
}
|