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_ck_wms */ @TableName(value ="ncc_jc_ck_wms") @Data public class NccJcCkWms { /** * */ @TableId private String pkStordoc; /** * */ private String code; /** * */ private String creationtime; /** * */ private String creator; /** * */ private String csflag; /** * */ private Long dataoriginflag; /** * */ private String def1; /** * */ private String def2; /** * */ private String def3; /** * */ private String def4; /** * */ private String def5; /** * */ private Integer dr; /** * */ private Long enablestate; /** * */ private String gubflag; /** * */ private String isagentstore; /** * */ private String isatpaffected; /** * */ private String iscalculatedinvcost; /** * */ private String iscommissionout; /** * */ private String isdirectstore; /** * */ private String iskptaxstore; /** * */ private String isobligate; /** * */ private String isretail; /** * */ private String isshopstore; /** * */ private String isstoreontheway; /** * */ private String memo; /** * */ private String modifiedtime; /** * */ private String modifier; /** * */ private String mrpflag; /** * */ private String name; /** * */ private String name2; /** * */ private String name3; /** * */ private String name4; /** * */ private String name5; /** * */ private String name6; /** * */ private String operatesupplier; /** * */ private String phone; /** * */ private String pkAddress; /** * */ private String pkGroup; /** * */ private String pkOrg; /** * */ private String principalcode; /** * */ private String profitcentre; /** * */ private String proflag; /** * */ private String storaddr; /** * */ private String ts; /** * */ 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; } NccJcCkWms other = (NccJcCkWms) that; return (this.getPkStordoc() == null ? other.getPkStordoc() == null : this.getPkStordoc().equals(other.getPkStordoc())) && (this.getCode() == null ? other.getCode() == null : this.getCode().equals(other.getCode())) && (this.getCreationtime() == null ? other.getCreationtime() == null : this.getCreationtime().equals(other.getCreationtime())) && (this.getCreator() == null ? other.getCreator() == null : this.getCreator().equals(other.getCreator())) && (this.getCsflag() == null ? other.getCsflag() == null : this.getCsflag().equals(other.getCsflag())) && (this.getDataoriginflag() == null ? other.getDataoriginflag() == null : this.getDataoriginflag().equals(other.getDataoriginflag())) && (this.getDef1() == null ? other.getDef1() == null : this.getDef1().equals(other.getDef1())) && (this.getDef2() == null ? other.getDef2() == null : this.getDef2().equals(other.getDef2())) && (this.getDef3() == null ? other.getDef3() == null : this.getDef3().equals(other.getDef3())) && (this.getDef4() == null ? other.getDef4() == null : this.getDef4().equals(other.getDef4())) && (this.getDef5() == null ? other.getDef5() == null : this.getDef5().equals(other.getDef5())) && (this.getDr() == null ? other.getDr() == null : this.getDr().equals(other.getDr())) && (this.getEnablestate() == null ? other.getEnablestate() == null : this.getEnablestate().equals(other.getEnablestate())) && (this.getGubflag() == null ? other.getGubflag() == null : this.getGubflag().equals(other.getGubflag())) && (this.getIsagentstore() == null ? other.getIsagentstore() == null : this.getIsagentstore().equals(other.getIsagentstore())) && (this.getIsatpaffected() == null ? other.getIsatpaffected() == null : this.getIsatpaffected().equals(other.getIsatpaffected())) && (this.getIscalculatedinvcost() == null ? other.getIscalculatedinvcost() == null : this.getIscalculatedinvcost().equals(other.getIscalculatedinvcost())) && (this.getIscommissionout() == null ? other.getIscommissionout() == null : this.getIscommissionout().equals(other.getIscommissionout())) && (this.getIsdirectstore() == null ? other.getIsdirectstore() == null : this.getIsdirectstore().equals(other.getIsdirectstore())) && (this.getIskptaxstore() == null ? other.getIskptaxstore() == null : this.getIskptaxstore().equals(other.getIskptaxstore())) && (this.getIsobligate() == null ? other.getIsobligate() == null : this.getIsobligate().equals(other.getIsobligate())) && (this.getIsretail() == null ? other.getIsretail() == null : this.getIsretail().equals(other.getIsretail())) && (this.getIsshopstore() == null ? other.getIsshopstore() == null : this.getIsshopstore().equals(other.getIsshopstore())) && (this.getIsstoreontheway() == null ? other.getIsstoreontheway() == null : this.getIsstoreontheway().equals(other.getIsstoreontheway())) && (this.getMemo() == null ? other.getMemo() == null : this.getMemo().equals(other.getMemo())) && (this.getModifiedtime() == null ? other.getModifiedtime() == null : this.getModifiedtime().equals(other.getModifiedtime())) && (this.getModifier() == null ? other.getModifier() == null : this.getModifier().equals(other.getModifier())) && (this.getMrpflag() == null ? other.getMrpflag() == null : this.getMrpflag().equals(other.getMrpflag())) && (this.getName() == null ? other.getName() == null : this.getName().equals(other.getName())) && (this.getName2() == null ? other.getName2() == null : this.getName2().equals(other.getName2())) && (this.getName3() == null ? other.getName3() == null : this.getName3().equals(other.getName3())) && (this.getName4() == null ? other.getName4() == null : this.getName4().equals(other.getName4())) && (this.getName5() == null ? other.getName5() == null : this.getName5().equals(other.getName5())) && (this.getName6() == null ? other.getName6() == null : this.getName6().equals(other.getName6())) && (this.getOperatesupplier() == null ? other.getOperatesupplier() == null : this.getOperatesupplier().equals(other.getOperatesupplier())) && (this.getPhone() == null ? other.getPhone() == null : this.getPhone().equals(other.getPhone())) && (this.getPkAddress() == null ? other.getPkAddress() == null : this.getPkAddress().equals(other.getPkAddress())) && (this.getPkGroup() == null ? other.getPkGroup() == null : this.getPkGroup().equals(other.getPkGroup())) && (this.getPkOrg() == null ? other.getPkOrg() == null : this.getPkOrg().equals(other.getPkOrg())) && (this.getPrincipalcode() == null ? other.getPrincipalcode() == null : this.getPrincipalcode().equals(other.getPrincipalcode())) && (this.getProfitcentre() == null ? other.getProfitcentre() == null : this.getProfitcentre().equals(other.getProfitcentre())) && (this.getProflag() == null ? other.getProflag() == null : this.getProflag().equals(other.getProflag())) && (this.getStoraddr() == null ? other.getStoraddr() == null : this.getStoraddr().equals(other.getStoraddr())) && (this.getTs() == null ? other.getTs() == null : this.getTs().equals(other.getTs())) && (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 + ((getPkStordoc() == null) ? 0 : getPkStordoc().hashCode()); result = prime * result + ((getCode() == null) ? 0 : getCode().hashCode()); result = prime * result + ((getCreationtime() == null) ? 0 : getCreationtime().hashCode()); result = prime * result + ((getCreator() == null) ? 0 : getCreator().hashCode()); result = prime * result + ((getCsflag() == null) ? 0 : getCsflag().hashCode()); result = prime * result + ((getDataoriginflag() == null) ? 0 : getDataoriginflag().hashCode()); result = prime * result + ((getDef1() == null) ? 0 : getDef1().hashCode()); result = prime * result + ((getDef2() == null) ? 0 : getDef2().hashCode()); result = prime * result + ((getDef3() == null) ? 0 : getDef3().hashCode()); result = prime * result + ((getDef4() == null) ? 0 : getDef4().hashCode()); result = prime * result + ((getDef5() == null) ? 0 : getDef5().hashCode()); result = prime * result + ((getDr() == null) ? 0 : getDr().hashCode()); result = prime * result + ((getEnablestate() == null) ? 0 : getEnablestate().hashCode()); result = prime * result + ((getGubflag() == null) ? 0 : getGubflag().hashCode()); result = prime * result + ((getIsagentstore() == null) ? 0 : getIsagentstore().hashCode()); result = prime * result + ((getIsatpaffected() == null) ? 0 : getIsatpaffected().hashCode()); result = prime * result + ((getIscalculatedinvcost() == null) ? 0 : getIscalculatedinvcost().hashCode()); result = prime * result + ((getIscommissionout() == null) ? 0 : getIscommissionout().hashCode()); result = prime * result + ((getIsdirectstore() == null) ? 0 : getIsdirectstore().hashCode()); result = prime * result + ((getIskptaxstore() == null) ? 0 : getIskptaxstore().hashCode()); result = prime * result + ((getIsobligate() == null) ? 0 : getIsobligate().hashCode()); result = prime * result + ((getIsretail() == null) ? 0 : getIsretail().hashCode()); result = prime * result + ((getIsshopstore() == null) ? 0 : getIsshopstore().hashCode()); result = prime * result + ((getIsstoreontheway() == null) ? 0 : getIsstoreontheway().hashCode()); result = prime * result + ((getMemo() == null) ? 0 : getMemo().hashCode()); result = prime * result + ((getModifiedtime() == null) ? 0 : getModifiedtime().hashCode()); result = prime * result + ((getModifier() == null) ? 0 : getModifier().hashCode()); result = prime * result + ((getMrpflag() == null) ? 0 : getMrpflag().hashCode()); result = prime * result + ((getName() == null) ? 0 : getName().hashCode()); result = prime * result + ((getName2() == null) ? 0 : getName2().hashCode()); result = prime * result + ((getName3() == null) ? 0 : getName3().hashCode()); result = prime * result + ((getName4() == null) ? 0 : getName4().hashCode()); result = prime * result + ((getName5() == null) ? 0 : getName5().hashCode()); result = prime * result + ((getName6() == null) ? 0 : getName6().hashCode()); result = prime * result + ((getOperatesupplier() == null) ? 0 : getOperatesupplier().hashCode()); result = prime * result + ((getPhone() == null) ? 0 : getPhone().hashCode()); result = prime * result + ((getPkAddress() == null) ? 0 : getPkAddress().hashCode()); result = prime * result + ((getPkGroup() == null) ? 0 : getPkGroup().hashCode()); result = prime * result + ((getPkOrg() == null) ? 0 : getPkOrg().hashCode()); result = prime * result + ((getPrincipalcode() == null) ? 0 : getPrincipalcode().hashCode()); result = prime * result + ((getProfitcentre() == null) ? 0 : getProfitcentre().hashCode()); result = prime * result + ((getProflag() == null) ? 0 : getProflag().hashCode()); result = prime * result + ((getStoraddr() == null) ? 0 : getStoraddr().hashCode()); result = prime * result + ((getTs() == null) ? 0 : getTs().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(", pkStordoc=").append(pkStordoc); sb.append(", code=").append(code); sb.append(", creationtime=").append(creationtime); sb.append(", creator=").append(creator); sb.append(", csflag=").append(csflag); sb.append(", dataoriginflag=").append(dataoriginflag); sb.append(", def1=").append(def1); sb.append(", def2=").append(def2); sb.append(", def3=").append(def3); sb.append(", def4=").append(def4); sb.append(", def5=").append(def5); sb.append(", dr=").append(dr); sb.append(", enablestate=").append(enablestate); sb.append(", gubflag=").append(gubflag); sb.append(", isagentstore=").append(isagentstore); sb.append(", isatpaffected=").append(isatpaffected); sb.append(", iscalculatedinvcost=").append(iscalculatedinvcost); sb.append(", iscommissionout=").append(iscommissionout); sb.append(", isdirectstore=").append(isdirectstore); sb.append(", iskptaxstore=").append(iskptaxstore); sb.append(", isobligate=").append(isobligate); sb.append(", isretail=").append(isretail); sb.append(", isshopstore=").append(isshopstore); sb.append(", isstoreontheway=").append(isstoreontheway); sb.append(", memo=").append(memo); sb.append(", modifiedtime=").append(modifiedtime); sb.append(", modifier=").append(modifier); sb.append(", mrpflag=").append(mrpflag); sb.append(", name=").append(name); sb.append(", name2=").append(name2); sb.append(", name3=").append(name3); sb.append(", name4=").append(name4); sb.append(", name5=").append(name5); sb.append(", name6=").append(name6); sb.append(", operatesupplier=").append(operatesupplier); sb.append(", phone=").append(phone); sb.append(", pkAddress=").append(pkAddress); sb.append(", pkGroup=").append(pkGroup); sb.append(", pkOrg=").append(pkOrg); sb.append(", principalcode=").append(principalcode); sb.append(", profitcentre=").append(profitcentre); sb.append(", proflag=").append(proflag); sb.append(", storaddr=").append(storaddr); sb.append(", ts=").append(ts); sb.append(", wmsFlag=").append(wmsFlag); sb.append("]"); return sb.toString(); } }