package com.matrix.system.hive.bean;
|
|
import com.matrix.core.anotations.Extend;
|
import com.matrix.system.hive.plugin.util.NumberUtils;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
/**
|
*
|
* @date 2016-07-17 10:23
|
*/
|
public class SysStoreInfo implements Serializable{
|
|
private static final long serialVersionUID = 1L;
|
|
|
/**
|
* id
|
*/
|
private Long id;
|
|
|
/**
|
* 仓库id
|
*/
|
private Long storeId;
|
|
|
/**
|
* SKU id
|
*/
|
private Long skuId;
|
|
|
/**
|
* 库存数量
|
*/
|
private Double storeTotal;
|
|
|
/**
|
* 产品成本价
|
*/
|
private Double goodsPrice;
|
|
|
|
/**
|
* 入库时间
|
*/
|
private Date time;
|
|
/**
|
* 入库批次
|
*/
|
private String batch;
|
|
|
/**
|
* 扩展属性
|
*/
|
|
/**
|
* 仓库名称
|
*/
|
private String storeName;
|
|
/**
|
* 包含的商品
|
*/
|
private ShoppingGoods goods;
|
|
/**
|
* 查询用的字段,表示是否查询库存预警,1是,2否
|
*/
|
private Integer isAlarm;
|
/**
|
* 批次计数
|
*/
|
@Extend
|
private Integer batchCount;
|
|
private Long shopId;
|
|
private Long companyId;
|
|
private String name;
|
|
@Extend
|
private String queryKey;
|
|
public String getQueryKey() {
|
return queryKey;
|
}
|
|
public void setQueryKey(String queryKey) {
|
this.queryKey = queryKey;
|
}
|
|
public String getName() {
|
return name;
|
}
|
|
public void setName(String name) {
|
this.name = name;
|
}
|
|
public Long getShopId() {
|
return shopId;
|
}
|
|
public void setShopId(Long shopId) {
|
this.shopId = shopId;
|
}
|
|
public Long getCompanyId() {
|
return companyId;
|
}
|
|
public void setCompanyId(Long companyId) {
|
this.companyId = companyId;
|
}
|
|
public Integer getBatchCount() {
|
return batchCount;
|
}
|
|
public void setBatchCount(Integer batchCount) {
|
this.batchCount = batchCount;
|
}
|
|
public Integer getIsAlarm() {
|
return isAlarm;
|
}
|
|
public void setIsAlarm(Integer isAlarm) {
|
this.isAlarm = isAlarm;
|
}
|
|
public Long getId() {
|
return id;
|
}
|
|
public void setId(Long id) {
|
this.id = id;
|
}
|
public Long getStoreId() {
|
return storeId;
|
}
|
|
public void setStoreId(Long storeId) {
|
this.storeId = storeId;
|
}
|
|
public Long getSkuId() {
|
return skuId;
|
}
|
|
public void setSkuId(Long skuId) {
|
this.skuId = skuId;
|
}
|
|
|
public Double getGoodsPrice() {
|
return goodsPrice;
|
}
|
|
public void setGoodsPrice(Double goodsPrice) {
|
this.goodsPrice = goodsPrice;
|
}
|
|
public String getStoreName() {
|
return storeName;
|
}
|
|
public void setStoreName(String storeName) {
|
this.storeName = storeName;
|
}
|
|
public ShoppingGoods getGoods() {
|
return goods;
|
}
|
|
public void setGoods(ShoppingGoods goods) {
|
this.goods = goods;
|
}
|
|
public Double getStoreTotal() {
|
return storeTotal;
|
}
|
public void setStoreTotal(Double storeTotal) {
|
this.storeTotal = NumberUtils.getDoubleNum(storeTotal, 3);
|
|
}
|
|
public Date getTime() {
|
return time;
|
}
|
|
public void setTime(Date time) {
|
this.time = time;
|
}
|
|
public String getBatch() {
|
return batch;
|
}
|
|
public void setBatch(String batch) {
|
this.batch = batch;
|
}
|
|
|
}
|