package com.matrix.system.hive.pojo; import java.util.Date; import com.matrix.core.tools.DateUtil; import org.springframework.format.annotation.DateTimeFormat; public class AllotedAndInstored { /** * 调拨单或者入库单id */ private Long iaId; /** * sku Id */ private Long skuId; /** * 商品id */ private Long goodsId; /** *商品名称 */ private String goodsName; /** * 规格名称 */ private String skuName; /** * 时间 */ private Date createTime; /** * 类型,1入库,2调拨 */ private String type; /** *数量,如果是调拨,那么负数表示调出 */ private int total; /* * 入库明细总价 */ private double priceTotal; /** * 规格价格 */ private double skuPrice; /** * 开始时间 */ @DateTimeFormat(pattern= DateUtil.DATE_FORMAT_MM) private Date startTime; /** * 结束时间 */ @DateTimeFormat(pattern=DateUtil.DATE_FORMAT_MM) private Date endTime; public String getGoodsName() { return goodsName; } public void setGoodsName(String goodsName) { this.goodsName = goodsName; } public String getSkuName() { return skuName; } public void setSkuName(String skuName) { this.skuName = skuName; } public String getType() { return type; } public void setType(String type) { this.type = type; } public int getTotal() { return total; } public void setTotal(int total) { this.total = total; } public Long getIaId() { return iaId; } public void setIaId(Long iaId) { this.iaId = iaId; } public Long getSkuId() { return skuId; } public void setSkuId(Long skuId) { this.skuId = skuId; } public Long getGoodsId() { return goodsId; } public void setGoodsId(Long goodsId) { this.goodsId = goodsId; } public Date getCreateTime() { return createTime; } public void setCreateTime(Date createTime) { this.createTime = createTime; } public double getSkuPrice() { return skuPrice; } public void setSkuPrice(double skuPrice) { this.skuPrice = skuPrice; } public double getPriceTotal() { return priceTotal; } public void setPriceTotal(double priceTotal) { this.priceTotal = priceTotal; } public Date getStartTime() { return startTime; } public void setStartTime(Date startTime) { this.startTime = startTime; } public Date getEndTime() { return endTime; } public void setEndTime(Date endTime) { this.endTime = endTime; } }