package com.zy.nc.entity;
|
|
import com.baomidou.mybatisplus.annotations.TableField;
|
import com.baomidou.mybatisplus.annotations.TableId;
|
import com.baomidou.mybatisplus.annotations.TableName;
|
import java.math.BigDecimal;
|
import lombok.Data;
|
|
/**
|
*
|
* @TableName ncc_jc_qilibc_barcodeflow_wms
|
*/
|
@TableName(value ="ncc_jc_qilibc_barcodeflow_wms")
|
@Data
|
public class NccJcQilibcBarcodeflowWms {
|
/**
|
*
|
*/
|
@TableId
|
private String pkBarcode;
|
|
/**
|
*
|
*/
|
private String ts;
|
|
/**
|
*
|
*/
|
private String vbarcode;
|
|
/**
|
*
|
*/
|
private String infla;
|
|
/**
|
*
|
*/
|
private BigDecimal asnnum;
|
|
/**
|
*
|
*/
|
private String pkMaterial;
|
|
/**
|
*
|
*/
|
private String pkStordoc;
|
|
/**
|
*
|
*/
|
private String memo;
|
|
/**
|
*
|
*/
|
private String vbillno;
|
|
/**
|
*
|
*/
|
private BigDecimal nastnum;
|
|
/**
|
*
|
*/
|
private Integer wmsFlag;
|
|
@Override
|
public boolean equals(Object that) {
|
if (this == that) {
|
return true;
|
}
|
if (that == null) {
|
return false;
|
}
|
if (getClass() != that.getClass()) {
|
return false;
|
}
|
NccJcQilibcBarcodeflowWms other = (NccJcQilibcBarcodeflowWms) that;
|
return (this.getPkBarcode() == null ? other.getPkBarcode() == null : this.getPkBarcode().equals(other.getPkBarcode()))
|
&& (this.getTs() == null ? other.getTs() == null : this.getTs().equals(other.getTs()))
|
&& (this.getVbarcode() == null ? other.getVbarcode() == null : this.getVbarcode().equals(other.getVbarcode()))
|
&& (this.getInfla() == null ? other.getInfla() == null : this.getInfla().equals(other.getInfla()))
|
&& (this.getAsnnum() == null ? other.getAsnnum() == null : this.getAsnnum().equals(other.getAsnnum()))
|
&& (this.getPkMaterial() == null ? other.getPkMaterial() == null : this.getPkMaterial().equals(other.getPkMaterial()))
|
&& (this.getPkStordoc() == null ? other.getPkStordoc() == null : this.getPkStordoc().equals(other.getPkStordoc()))
|
&& (this.getMemo() == null ? other.getMemo() == null : this.getMemo().equals(other.getMemo()))
|
&& (this.getVbillno() == null ? other.getVbillno() == null : this.getVbillno().equals(other.getVbillno()))
|
&& (this.getNastnum() == null ? other.getNastnum() == null : this.getNastnum().equals(other.getNastnum()))
|
&& (this.getWmsFlag() == null ? other.getWmsFlag() == null : this.getWmsFlag().equals(other.getWmsFlag()));
|
}
|
|
@Override
|
public int hashCode() {
|
final int prime = 31;
|
int result = 1;
|
result = prime * result + ((getPkBarcode() == null) ? 0 : getPkBarcode().hashCode());
|
result = prime * result + ((getTs() == null) ? 0 : getTs().hashCode());
|
result = prime * result + ((getVbarcode() == null) ? 0 : getVbarcode().hashCode());
|
result = prime * result + ((getInfla() == null) ? 0 : getInfla().hashCode());
|
result = prime * result + ((getAsnnum() == null) ? 0 : getAsnnum().hashCode());
|
result = prime * result + ((getPkMaterial() == null) ? 0 : getPkMaterial().hashCode());
|
result = prime * result + ((getPkStordoc() == null) ? 0 : getPkStordoc().hashCode());
|
result = prime * result + ((getMemo() == null) ? 0 : getMemo().hashCode());
|
result = prime * result + ((getVbillno() == null) ? 0 : getVbillno().hashCode());
|
result = prime * result + ((getNastnum() == null) ? 0 : getNastnum().hashCode());
|
result = prime * result + ((getWmsFlag() == null) ? 0 : getWmsFlag().hashCode());
|
return result;
|
}
|
|
@Override
|
public String toString() {
|
StringBuilder sb = new StringBuilder();
|
sb.append(getClass().getSimpleName());
|
sb.append(" [");
|
sb.append("Hash = ").append(hashCode());
|
sb.append(", pkBarcode=").append(pkBarcode);
|
sb.append(", ts=").append(ts);
|
sb.append(", vbarcode=").append(vbarcode);
|
sb.append(", infla=").append(infla);
|
sb.append(", asnnum=").append(asnnum);
|
sb.append(", pkMaterial=").append(pkMaterial);
|
sb.append(", pkStordoc=").append(pkStordoc);
|
sb.append(", memo=").append(memo);
|
sb.append(", vbillno=").append(vbillno);
|
sb.append(", nastnum=").append(nastnum);
|
sb.append(", wmsFlag=").append(wmsFlag);
|
sb.append("]");
|
return sb.toString();
|
}
|
}
|