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_ckhw */ @TableName(value ="ncc_jc_ckhw") @Data public class NccJcCkhw { /** * */ @TableId private String pkRack; /** * */ private String pkStordoc; /** * */ private String ckbm; /** * */ private String ckmc; /** * */ private String hwbm; /** * */ private String hwmc; @Override public boolean equals(Object that) { if (this == that) { return true; } if (that == null) { return false; } if (getClass() != that.getClass()) { return false; } NccJcCkhw other = (NccJcCkhw) that; return (this.getPkRack() == null ? other.getPkRack() == null : this.getPkRack().equals(other.getPkRack())) && (this.getPkStordoc() == null ? other.getPkStordoc() == null : this.getPkStordoc().equals(other.getPkStordoc())) && (this.getCkbm() == null ? other.getCkbm() == null : this.getCkbm().equals(other.getCkbm())) && (this.getCkmc() == null ? other.getCkmc() == null : this.getCkmc().equals(other.getCkmc())) && (this.getHwbm() == null ? other.getHwbm() == null : this.getHwbm().equals(other.getHwbm())) && (this.getHwmc() == null ? other.getHwmc() == null : this.getHwmc().equals(other.getHwmc())); } @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((getPkRack() == null) ? 0 : getPkRack().hashCode()); result = prime * result + ((getPkStordoc() == null) ? 0 : getPkStordoc().hashCode()); result = prime * result + ((getCkbm() == null) ? 0 : getCkbm().hashCode()); result = prime * result + ((getCkmc() == null) ? 0 : getCkmc().hashCode()); result = prime * result + ((getHwbm() == null) ? 0 : getHwbm().hashCode()); result = prime * result + ((getHwmc() == null) ? 0 : getHwmc().hashCode()); return result; } @Override public String toString() { StringBuilder sb = new StringBuilder(); sb.append(getClass().getSimpleName()); sb.append(" ["); sb.append("Hash = ").append(hashCode()); sb.append(", pkRack=").append(pkRack); sb.append(", pkStordoc=").append(pkStordoc); sb.append(", ckbm=").append(ckbm); sb.append(", ckmc=").append(ckmc); sb.append(", hwbm=").append(hwbm); sb.append(", hwmc=").append(hwmc); sb.append("]"); return sb.toString(); } }