package zy.cloud.wms.manager.entity;
|
|
import com.baomidou.mybatisplus.annotations.TableId;
|
import com.baomidou.mybatisplus.enums.IdType;
|
import com.core.common.Cools;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 io.swagger.annotations.ApiModelProperty;
|
import java.text.SimpleDateFormat;
|
import java.util.Date;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.AllArgsConstructor;
|
import lombok.Data;
|
import org.springframework.format.annotation.DateTimeFormat;
|
import io.swagger.annotations.ApiModelProperty;
|
import java.text.SimpleDateFormat;
|
import java.util.Date;
|
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
|
import com.baomidou.mybatisplus.annotations.TableName;
|
import java.io.Serializable;
|
|
@Data
|
@AllArgsConstructor
|
@TableName("man_receive_log")
|
public class ReceiveLog implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 唯一ID
|
*/
|
@ApiModelProperty(value= "唯一ID")
|
@TableId(value = "id", type = IdType.AUTO)
|
private Long id;
|
|
/**
|
* 入库单号
|
*/
|
@ApiModelProperty(value= "入库单号")
|
@TableField("order_no")
|
private String orderNo;
|
|
/**
|
* 库位号唯一ID
|
*/
|
@ApiModelProperty(value= "库位号唯一ID")
|
@TableField("node_id")
|
private Long nodeId;
|
|
/**
|
* 商品编码
|
*/
|
@ApiModelProperty(value= "商品编码")
|
private String matnr;
|
|
/**
|
* 数量
|
*/
|
@ApiModelProperty(value= "数量")
|
private Double anfme;
|
|
/**
|
* 批号
|
*/
|
@ApiModelProperty(value= "批号")
|
private String batch;
|
|
/**
|
* 添加人员
|
*/
|
@ApiModelProperty(value= "添加人员")
|
@TableField("create_by")
|
private Long createBy;
|
|
/**
|
* 添加时间
|
*/
|
@ApiModelProperty(value= "添加时间")
|
@TableField("create_time")
|
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
private Date createTime;
|
|
/**
|
* 修改人员
|
*/
|
@ApiModelProperty(value= "修改人员")
|
@TableField("update_by")
|
private Long updateBy;
|
|
/**
|
* 修改时间
|
*/
|
@ApiModelProperty(value= "修改时间")
|
@TableField("update_time")
|
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
private Date updateTime;
|
|
/**
|
* 备注
|
*/
|
@ApiModelProperty(value= "备注")
|
private String memo;
|
|
/**
|
* 库位名称
|
*/
|
@ApiModelProperty(value= "库位名称")
|
@TableField("node_name")
|
private String nodeName;
|
|
@TableField("io_type")
|
private Integer ioType;
|
|
public ReceiveLog() {}
|
|
public ReceiveLog(String orderNo,Long nodeId,String matnr,Double anfme,String batch,Long createBy,Date createTime,Long updateBy,Date updateTime,String memo,String nodeName) {
|
this.orderNo = orderNo;
|
this.nodeId = nodeId;
|
this.matnr = matnr;
|
this.anfme = anfme;
|
this.batch = batch;
|
this.createBy = createBy;
|
this.createTime = createTime;
|
this.updateBy = updateBy;
|
this.updateTime = updateTime;
|
this.memo = memo;
|
this.nodeName = nodeName;
|
}
|
|
// ReceiveLog receiveLog = new ReceiveLog(
|
// null, // 入库单号
|
// null, // 库位号唯一ID
|
// null, // 商品编码
|
// null, // 数量
|
// null, // 批号
|
// null, // 添加人员
|
// null, // 添加时间
|
// null, // 修改人员
|
// null, // 修改时间
|
// null, // 备注
|
// null // 库位名称
|
// );
|
|
public Long getId() {
|
return id;
|
}
|
|
public void setId(Long id) {
|
this.id = id;
|
}
|
|
public String getOrderNo() {
|
return orderNo;
|
}
|
|
public void setOrderNo(String orderNo) {
|
this.orderNo = orderNo;
|
}
|
|
public Long getNodeId() {
|
return nodeId;
|
}
|
|
public void setNodeId(Long nodeId) {
|
this.nodeId = nodeId;
|
}
|
|
public String getMatnr() {
|
return matnr;
|
}
|
|
public void setMatnr(String matnr) {
|
this.matnr = matnr;
|
}
|
|
public Double getAnfme() {
|
return anfme;
|
}
|
|
public void setAnfme(Double anfme) {
|
this.anfme = anfme;
|
}
|
|
public String getBatch() {
|
return batch;
|
}
|
|
public void setBatch(String batch) {
|
this.batch = batch;
|
}
|
|
public Long getCreateBy() {
|
return createBy;
|
}
|
|
public void setCreateBy(Long createBy) {
|
this.createBy = createBy;
|
}
|
|
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 Long getUpdateBy() {
|
return updateBy;
|
}
|
|
public void setUpdateBy(Long updateBy) {
|
this.updateBy = updateBy;
|
}
|
|
public Date getUpdateTime() {
|
return updateTime;
|
}
|
|
public String getUpdateTime$(){
|
if (Cools.isEmpty(this.updateTime)){
|
return "";
|
}
|
return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.updateTime);
|
}
|
|
public void setUpdateTime(Date updateTime) {
|
this.updateTime = updateTime;
|
}
|
|
public String getMemo() {
|
return memo;
|
}
|
|
public void setMemo(String memo) {
|
this.memo = memo;
|
}
|
|
public String getNodeName() {
|
return nodeName;
|
}
|
|
public void setNodeName(String nodeName) {
|
this.nodeName = nodeName;
|
}
|
|
|
}
|