toString模板
equals模板
@Overridepublic boolean equals(Object obj) {if (obj == null) {return false;}// 是否属于同一类型if (!(obj instanceof ApplicationAttachInfo)) {return false;}// 强转成同一类型ApplicationAttachInfo aa = (ApplicationAttachInfo) obj;// 属性是否相等if (this.attrName != null && this.attrName.equals(aa.getAttrName())) {return this.attrValue != null && this.attrValue.equals(aa.getAttrValue());}return false;}
@Overridepublic String toString() {return "ApplyRiskAuditDTO{" +"applicationOrigin='" + applicationOrigin + '\'' +", auditorID='" + auditorID + '\'' +", auditorName='" + auditorName + '\'' +", riskRemark='" + riskRemark + '\'' +", auditFeedback='" + auditFeedback + '\'' +", merchantBusinessType=" + merchantBusinessType +", passedPiTypeList=" + passedPiTypeList +", rejectedPiTypeList=" + rejectedPiTypeList +", applicationID=" + applicationID +", auditResult=" + auditResult +", merchantIndustryId=" + merchantIndustryId +", merchantNO='" + merchantNO + '\'' +", industryLimitQuotas='" + industryLimitQuotas + '\'' +", jdThirdIndustryCode='" + jdThirdIndustryCode + '\'' +", jdThirdIndustryName='" + jdThirdIndustryName + '\'' +", riskLevel=" + riskLevel +", applicationReviewInfo=" + applicationReviewInfo +", innerMerchantNo='" + innerMerchantNo + '\'' +", productId=" + productId +'}';}
public int hashCode() {int PRIME = true;int result = 1;int result = result * 59 + (this.isSuccess() ? 79 : 97);Object $code = this.getCode();result = result * 59 + ($code == null ? 43 : $code.hashCode());Object $message = this.getMessage();result = result * 59 + ($message == null ? 43 : $message.hashCode());Object $data = this.getData();result = result * 59 + ($data == null ? 43 : $data.hashCode());return result;}
