package com.zy.nc.entity;
|
|
import com.baomidou.mybatisplus.annotations.TableField;
|
import com.baomidou.mybatisplus.annotations.TableId;
|
import com.baomidou.mybatisplus.annotations.TableName;
|
import lombok.Data;
|
|
/**
|
*
|
* @TableName ncc_jc_bm_wms
|
*/
|
@TableName(value ="ncc_jc_bm_wms")
|
@Data
|
public class NccJcBmWms {
|
/**
|
*
|
*/
|
private String pkDept;
|
|
/**
|
*
|
*/
|
private String bmbm;
|
|
/**
|
*
|
*/
|
private String bmmc;
|
|
/**
|
*
|
*/
|
private String bmjc;
|
|
/**
|
*
|
*/
|
private String sjbm;
|
|
/**
|
*
|
*/
|
private String ssywdy;
|
|
/**
|
*
|
*/
|
private String ssywdybm;
|
|
/**
|
*
|
*/
|
private String ssywdymc;
|
|
/**
|
*
|
*/
|
private String sssyb;
|
|
/**
|
*
|
*/
|
private Long qyzt;
|
|
/**
|
*
|
*/
|
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;
|
}
|
NccJcBmWms other = (NccJcBmWms) that;
|
return (this.getPkDept() == null ? other.getPkDept() == null : this.getPkDept().equals(other.getPkDept()))
|
&& (this.getBmbm() == null ? other.getBmbm() == null : this.getBmbm().equals(other.getBmbm()))
|
&& (this.getBmmc() == null ? other.getBmmc() == null : this.getBmmc().equals(other.getBmmc()))
|
&& (this.getBmjc() == null ? other.getBmjc() == null : this.getBmjc().equals(other.getBmjc()))
|
&& (this.getSjbm() == null ? other.getSjbm() == null : this.getSjbm().equals(other.getSjbm()))
|
&& (this.getSsywdy() == null ? other.getSsywdy() == null : this.getSsywdy().equals(other.getSsywdy()))
|
&& (this.getSsywdybm() == null ? other.getSsywdybm() == null : this.getSsywdybm().equals(other.getSsywdybm()))
|
&& (this.getSsywdymc() == null ? other.getSsywdymc() == null : this.getSsywdymc().equals(other.getSsywdymc()))
|
&& (this.getSssyb() == null ? other.getSssyb() == null : this.getSssyb().equals(other.getSssyb()))
|
&& (this.getQyzt() == null ? other.getQyzt() == null : this.getQyzt().equals(other.getQyzt()))
|
&& (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 + ((getPkDept() == null) ? 0 : getPkDept().hashCode());
|
result = prime * result + ((getBmbm() == null) ? 0 : getBmbm().hashCode());
|
result = prime * result + ((getBmmc() == null) ? 0 : getBmmc().hashCode());
|
result = prime * result + ((getBmjc() == null) ? 0 : getBmjc().hashCode());
|
result = prime * result + ((getSjbm() == null) ? 0 : getSjbm().hashCode());
|
result = prime * result + ((getSsywdy() == null) ? 0 : getSsywdy().hashCode());
|
result = prime * result + ((getSsywdybm() == null) ? 0 : getSsywdybm().hashCode());
|
result = prime * result + ((getSsywdymc() == null) ? 0 : getSsywdymc().hashCode());
|
result = prime * result + ((getSssyb() == null) ? 0 : getSssyb().hashCode());
|
result = prime * result + ((getQyzt() == null) ? 0 : getQyzt().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(", pkDept=").append(pkDept);
|
sb.append(", bmbm=").append(bmbm);
|
sb.append(", bmmc=").append(bmmc);
|
sb.append(", bmjc=").append(bmjc);
|
sb.append(", sjbm=").append(sjbm);
|
sb.append(", ssywdy=").append(ssywdy);
|
sb.append(", ssywdybm=").append(ssywdybm);
|
sb.append(", ssywdymc=").append(ssywdymc);
|
sb.append(", sssyb=").append(sssyb);
|
sb.append(", qyzt=").append(qyzt);
|
sb.append(", wmsFlag=").append(wmsFlag);
|
sb.append("]");
|
return sb.toString();
|
}
|
}
|