package zy.cloud.wms.manager.entity;
|
|
import com.core.common.Cools;import io.swagger.annotations.ApiModelProperty;
|
import com.baomidou.mybatisplus.annotations.TableId;
|
import com.baomidou.mybatisplus.enums.IdType;
|
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
import com.baomidou.mybatisplus.annotations.TableField;
|
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
import java.text.SimpleDateFormat;
|
import java.util.Date;
|
import io.swagger.annotations.ApiModelProperty;
|
import org.springframework.format.annotation.DateTimeFormat;
|
import io.swagger.annotations.ApiModelProperty;
|
|
import com.baomidou.mybatisplus.annotations.TableName;
|
import java.io.Serializable;
|
|
@TableName("erp_diff_log")
|
public class DiffLog implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* ID
|
*/
|
@ApiModelProperty(value= "ID")
|
@TableId(value = "id", type = IdType.AUTO)
|
private Long id;
|
|
/**
|
* 商品编号
|
*/
|
@ApiModelProperty(value= "商品编号")
|
private String matnr;
|
|
/**
|
* erp数量
|
*/
|
@ApiModelProperty(value= "erp数量")
|
@TableField("doc_count")
|
private Double docCount;
|
|
/**
|
* wms数量
|
*/
|
@ApiModelProperty(value= "wms数量")
|
private Double stock;
|
|
/**
|
* 立库
|
*/
|
@ApiModelProperty(value= "立库")
|
@TableField("asrs_count")
|
private Double asrsCount;
|
|
/**
|
* 平仓
|
*/
|
@ApiModelProperty(value= "平仓")
|
@TableField("wms_count")
|
private Double wmsCount;
|
|
/**
|
* 差异值
|
*/
|
@ApiModelProperty(value= "差异值")
|
private Double diff;
|
|
/**
|
* 添加事件
|
*/
|
@ApiModelProperty(value= "添加事件")
|
@TableField("create_time")
|
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
private Date createTime;
|
|
/**
|
* 备注
|
*/
|
@ApiModelProperty(value= "备注")
|
private String memo;
|
|
public DiffLog() {}
|
|
public DiffLog(String matnr,Double docCount,Double stock,Double asrsCount,Double wmsCount,Double diff,Date createTime,String memo) {
|
this.matnr = matnr;
|
this.docCount = docCount;
|
this.stock = stock;
|
this.asrsCount = asrsCount;
|
this.wmsCount = wmsCount;
|
this.diff = diff;
|
this.createTime = createTime;
|
this.memo = memo;
|
}
|
|
// DiffLog diffLog = new DiffLog(
|
// null, // 商品编号[非空]
|
// null, // erp数量
|
// null, // wms数量
|
// null, // 立库
|
// null, // 平仓
|
// null, // 差异值
|
// null, // 添加事件
|
// null // 备注
|
// );
|
|
public Long getId() {
|
return id;
|
}
|
|
public void setId(Long id) {
|
this.id = id;
|
}
|
|
public String getMatnr() {
|
return matnr;
|
}
|
|
public void setMatnr(String matnr) {
|
this.matnr = matnr;
|
}
|
|
public Double getDocCount() {
|
return docCount;
|
}
|
|
public void setDocCount(Double docCount) {
|
this.docCount = docCount;
|
}
|
|
public Double getStock() {
|
return stock;
|
}
|
|
public void setStock(Double stock) {
|
this.stock = stock;
|
}
|
|
public Double getAsrsCount() {
|
return asrsCount;
|
}
|
|
public void setAsrsCount(Double asrsCount) {
|
this.asrsCount = asrsCount;
|
}
|
|
public Double getWmsCount() {
|
return wmsCount;
|
}
|
|
public void setWmsCount(Double wmsCount) {
|
this.wmsCount = wmsCount;
|
}
|
|
public Double getDiff() {
|
return diff;
|
}
|
|
public void setDiff(Double diff) {
|
this.diff = diff;
|
}
|
|
public Date getCreateTime() {
|
return createTime;
|
}
|
|
public String getCreateTime$(){
|
if (Cools.isEmpty(this.createTime)){
|
return "";
|
}
|
return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.createTime);
|
}
|
|
public void setCreateTime(Date createTime) {
|
this.createTime = createTime;
|
}
|
|
public String getMemo() {
|
return memo;
|
}
|
|
public void setMemo(String memo) {
|
this.memo = memo;
|
}
|
|
|
}
|