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_wlfl_wms
|
*/
|
@TableName(value ="ncc_jc_wlfl_wms")
|
@Data
|
public class NccJcWlflWms {
|
/**
|
*
|
*/
|
@TableId
|
private String pkMarbasclass;
|
|
/**
|
*
|
*/
|
private String code;
|
|
/**
|
*
|
*/
|
private String name;
|
|
/**
|
*
|
*/
|
private String sjflbm;
|
|
/**
|
*
|
*/
|
private String sjflmc;
|
|
/**
|
*
|
*/
|
private String wljbfl;
|
|
/**
|
*
|
*/
|
private String code1;
|
|
@Override
|
public boolean equals(Object that) {
|
if (this == that) {
|
return true;
|
}
|
if (that == null) {
|
return false;
|
}
|
if (getClass() != that.getClass()) {
|
return false;
|
}
|
NccJcWlflWms other = (NccJcWlflWms) that;
|
return (this.getPkMarbasclass() == null ? other.getPkMarbasclass() == null : this.getPkMarbasclass().equals(other.getPkMarbasclass()))
|
&& (this.getCode() == null ? other.getCode() == null : this.getCode().equals(other.getCode()))
|
&& (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName()))
|
&& (this.getSjflbm() == null ? other.getSjflbm() == null : this.getSjflbm().equals(other.getSjflbm()))
|
&& (this.getSjflmc() == null ? other.getSjflmc() == null : this.getSjflmc().equals(other.getSjflmc()))
|
&& (this.getWljbfl() == null ? other.getWljbfl() == null : this.getWljbfl().equals(other.getWljbfl()))
|
&& (this.getCode1() == null ? other.getCode1() == null : this.getCode1().equals(other.getCode1()));
|
}
|
|
@Override
|
public int hashCode() {
|
final int prime = 31;
|
int result = 1;
|
result = prime * result + ((getPkMarbasclass() == null) ? 0 : getPkMarbasclass().hashCode());
|
result = prime * result + ((getCode() == null) ? 0 : getCode().hashCode());
|
result = prime * result + ((getName() == null) ? 0 : getName().hashCode());
|
result = prime * result + ((getSjflbm() == null) ? 0 : getSjflbm().hashCode());
|
result = prime * result + ((getSjflmc() == null) ? 0 : getSjflmc().hashCode());
|
result = prime * result + ((getWljbfl() == null) ? 0 : getWljbfl().hashCode());
|
result = prime * result + ((getCode1() == null) ? 0 : getCode1().hashCode());
|
return result;
|
}
|
|
@Override
|
public String toString() {
|
StringBuilder sb = new StringBuilder();
|
sb.append(getClass().getSimpleName());
|
sb.append(" [");
|
sb.append("Hash = ").append(hashCode());
|
sb.append(", pkMarbasclass=").append(pkMarbasclass);
|
sb.append(", code=").append(code);
|
sb.append(", name=").append(name);
|
sb.append(", sjflbm=").append(sjflbm);
|
sb.append(", sjflmc=").append(sjflmc);
|
sb.append(", wljbfl=").append(wljbfl);
|
sb.append(", code1=").append(code1);
|
sb.append("]");
|
return sb.toString();
|
}
|
}
|