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_ck_pdd_wms */ @TableName(value ="ncc_ck_pdd_wms") @Data public class NccCkPddWms { /** * */ @TableId private String cspecialbid; /** * */ private String cspecialhid; /** * */ private String kczz; /** * */ private String kczzbm; /** * */ private String kczzmc; /** * */ private String vbillcode; /** * */ private String dbilldate; /** * */ private String dcountdate; /** * */ private String ckbm; /** * */ private String ckmc; /** * */ private String bmbm; /** * */ private String bmmc; /** * */ private String pdrbm; /** * */ private String pdrmc; /** * */ private Long fbillflag; /** * */ private String vnote; /** * */ private String wlbm; /** * */ private String wlmc; /** * */ private String vbatchcode; /** * */ private String pkBatchcode; /** * */ private BigDecimal zmsl; /** * */ private BigDecimal tmsl; /** * */ private BigDecimal zmzsl; /** * */ private BigDecimal pdsl; /** * */ private BigDecimal spzsl; /** * */ private String hwbm; /** * */ private String hwmc; /** * */ private String hts; /** * */ private String bts; /** * */ 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; } NccCkPddWms other = (NccCkPddWms) that; return (this.getCspecialbid() == null ? other.getCspecialbid() == null : this.getCspecialbid().equals(other.getCspecialbid())) && (this.getCspecialhid() == null ? other.getCspecialhid() == null : this.getCspecialhid().equals(other.getCspecialhid())) && (this.getKczz() == null ? other.getKczz() == null : this.getKczz().equals(other.getKczz())) && (this.getKczzbm() == null ? other.getKczzbm() == null : this.getKczzbm().equals(other.getKczzbm())) && (this.getKczzmc() == null ? other.getKczzmc() == null : this.getKczzmc().equals(other.getKczzmc())) && (this.getVbillcode() == null ? other.getVbillcode() == null : this.getVbillcode().equals(other.getVbillcode())) && (this.getDbilldate() == null ? other.getDbilldate() == null : this.getDbilldate().equals(other.getDbilldate())) && (this.getDcountdate() == null ? other.getDcountdate() == null : this.getDcountdate().equals(other.getDcountdate())) && (this.getCkbm() == null ? other.getCkbm() == null : this.getCkbm().equals(other.getCkbm())) && (this.getCkmc() == null ? other.getCkmc() == null : this.getCkmc().equals(other.getCkmc())) && (this.getBmbm() == null ? other.getBmbm() == null : this.getBmbm().equals(other.getBmbm())) && (this.getBmmc() == null ? other.getBmmc() == null : this.getBmmc().equals(other.getBmmc())) && (this.getPdrbm() == null ? other.getPdrbm() == null : this.getPdrbm().equals(other.getPdrbm())) && (this.getPdrmc() == null ? other.getPdrmc() == null : this.getPdrmc().equals(other.getPdrmc())) && (this.getFbillflag() == null ? other.getFbillflag() == null : this.getFbillflag().equals(other.getFbillflag())) && (this.getVnote() == null ? other.getVnote() == null : this.getVnote().equals(other.getVnote())) && (this.getWlbm() == null ? other.getWlbm() == null : this.getWlbm().equals(other.getWlbm())) && (this.getWlmc() == null ? other.getWlmc() == null : this.getWlmc().equals(other.getWlmc())) && (this.getVbatchcode() == null ? other.getVbatchcode() == null : this.getVbatchcode().equals(other.getVbatchcode())) && (this.getPkBatchcode() == null ? other.getPkBatchcode() == null : this.getPkBatchcode().equals(other.getPkBatchcode())) && (this.getZmsl() == null ? other.getZmsl() == null : this.getZmsl().equals(other.getZmsl())) && (this.getTmsl() == null ? other.getTmsl() == null : this.getTmsl().equals(other.getTmsl())) && (this.getZmzsl() == null ? other.getZmzsl() == null : this.getZmzsl().equals(other.getZmzsl())) && (this.getPdsl() == null ? other.getPdsl() == null : this.getPdsl().equals(other.getPdsl())) && (this.getSpzsl() == null ? other.getSpzsl() == null : this.getSpzsl().equals(other.getSpzsl())) && (this.getHwbm() == null ? other.getHwbm() == null : this.getHwbm().equals(other.getHwbm())) && (this.getHwmc() == null ? other.getHwmc() == null : this.getHwmc().equals(other.getHwmc())) && (this.getHts() == null ? other.getHts() == null : this.getHts().equals(other.getHts())) && (this.getBts() == null ? other.getBts() == null : this.getBts().equals(other.getBts())) && (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 + ((getCspecialbid() == null) ? 0 : getCspecialbid().hashCode()); result = prime * result + ((getCspecialhid() == null) ? 0 : getCspecialhid().hashCode()); result = prime * result + ((getKczz() == null) ? 0 : getKczz().hashCode()); result = prime * result + ((getKczzbm() == null) ? 0 : getKczzbm().hashCode()); result = prime * result + ((getKczzmc() == null) ? 0 : getKczzmc().hashCode()); result = prime * result + ((getVbillcode() == null) ? 0 : getVbillcode().hashCode()); result = prime * result + ((getDbilldate() == null) ? 0 : getDbilldate().hashCode()); result = prime * result + ((getDcountdate() == null) ? 0 : getDcountdate().hashCode()); result = prime * result + ((getCkbm() == null) ? 0 : getCkbm().hashCode()); result = prime * result + ((getCkmc() == null) ? 0 : getCkmc().hashCode()); result = prime * result + ((getBmbm() == null) ? 0 : getBmbm().hashCode()); result = prime * result + ((getBmmc() == null) ? 0 : getBmmc().hashCode()); result = prime * result + ((getPdrbm() == null) ? 0 : getPdrbm().hashCode()); result = prime * result + ((getPdrmc() == null) ? 0 : getPdrmc().hashCode()); result = prime * result + ((getFbillflag() == null) ? 0 : getFbillflag().hashCode()); result = prime * result + ((getVnote() == null) ? 0 : getVnote().hashCode()); result = prime * result + ((getWlbm() == null) ? 0 : getWlbm().hashCode()); result = prime * result + ((getWlmc() == null) ? 0 : getWlmc().hashCode()); result = prime * result + ((getVbatchcode() == null) ? 0 : getVbatchcode().hashCode()); result = prime * result + ((getPkBatchcode() == null) ? 0 : getPkBatchcode().hashCode()); result = prime * result + ((getZmsl() == null) ? 0 : getZmsl().hashCode()); result = prime * result + ((getTmsl() == null) ? 0 : getTmsl().hashCode()); result = prime * result + ((getZmzsl() == null) ? 0 : getZmzsl().hashCode()); result = prime * result + ((getPdsl() == null) ? 0 : getPdsl().hashCode()); result = prime * result + ((getSpzsl() == null) ? 0 : getSpzsl().hashCode()); result = prime * result + ((getHwbm() == null) ? 0 : getHwbm().hashCode()); result = prime * result + ((getHwmc() == null) ? 0 : getHwmc().hashCode()); result = prime * result + ((getHts() == null) ? 0 : getHts().hashCode()); result = prime * result + ((getBts() == null) ? 0 : getBts().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(", cspecialbid=").append(cspecialbid); sb.append(", cspecialhid=").append(cspecialhid); sb.append(", kczz=").append(kczz); sb.append(", kczzbm=").append(kczzbm); sb.append(", kczzmc=").append(kczzmc); sb.append(", vbillcode=").append(vbillcode); sb.append(", dbilldate=").append(dbilldate); sb.append(", dcountdate=").append(dcountdate); sb.append(", ckbm=").append(ckbm); sb.append(", ckmc=").append(ckmc); sb.append(", bmbm=").append(bmbm); sb.append(", bmmc=").append(bmmc); sb.append(", pdrbm=").append(pdrbm); sb.append(", pdrmc=").append(pdrmc); sb.append(", fbillflag=").append(fbillflag); sb.append(", vnote=").append(vnote); sb.append(", wlbm=").append(wlbm); sb.append(", wlmc=").append(wlmc); sb.append(", vbatchcode=").append(vbatchcode); sb.append(", pkBatchcode=").append(pkBatchcode); sb.append(", zmsl=").append(zmsl); sb.append(", tmsl=").append(tmsl); sb.append(", zmzsl=").append(zmzsl); sb.append(", pdsl=").append(pdsl); sb.append(", spzsl=").append(spzsl); sb.append(", hwbm=").append(hwbm); sb.append(", hwmc=").append(hwmc); sb.append(", hts=").append(hts); sb.append(", bts=").append(bts); sb.append(", wmsFlag=").append(wmsFlag); sb.append("]"); return sb.toString(); } }