package com.qianwen.smartman.modules.mdc.entity; import java.sql.Timestamp; public class SuperAggregateOutput extends SuperAggregate { private static final long serialVersionUID = 1074211007569731042L; private Timestamp ts; private Timestamp preTs; private Long output; private Long curOutput; private Long preOutput; private String program; private String productCode; private String productName; private Long employeeId; @Override public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof SuperAggregateOutput) { SuperAggregateOutput other = (SuperAggregateOutput) o; if (other.canEqual(this) && super.equals(o)) { Object this$output = getOutput(); Object other$output = other.getOutput(); if (this$output == null) { if (other$output != null) { return false; } } else if (!this$output.equals(other$output)) { return false; } Object this$curOutput = getCurOutput(); Object other$curOutput = other.getCurOutput(); if (this$curOutput == null) { if (other$curOutput != null) { return false; } } else if (!this$curOutput.equals(other$curOutput)) { return false; } Object this$preOutput = getPreOutput(); Object other$preOutput = other.getPreOutput(); if (this$preOutput == null) { if (other$preOutput != null) { return false; } } else if (!this$preOutput.equals(other$preOutput)) { return false; } Object this$employeeId = getEmployeeId(); Object other$employeeId = other.getEmployeeId(); if (this$employeeId == null) { if (other$employeeId != null) { return false; } } else if (!this$employeeId.equals(other$employeeId)) { return false; } Object this$ts = getTs(); Object other$ts = other.getTs(); if (this$ts == null) { if (other$ts != null) { return false; } } else if (!this$ts.equals(other$ts)) { return false; } Object this$preTs = getPreTs(); Object other$preTs = other.getPreTs(); if (this$preTs == null) { if (other$preTs != null) { return false; } } else if (!this$preTs.equals(other$preTs)) { return false; } Object this$program = getProgram(); Object other$program = other.getProgram(); if (this$program == null) { if (other$program != null) { return false; } } else if (!this$program.equals(other$program)) { return false; } Object this$productCode = getProductCode(); Object other$productCode = other.getProductCode(); if (this$productCode == null) { if (other$productCode != null) { return false; } } else if (!this$productCode.equals(other$productCode)) { return false; } Object this$productName = getProductName(); Object other$productName = other.getProductName(); return this$productName == null ? other$productName == null : this$productName.equals(other$productName); } return false; } return false; } @Override // org.springblade.modules.mdc.entity.SuperAggregate protected boolean canEqual(final Object other) { return other instanceof SuperAggregateOutput; } @Override // org.springblade.modules.mdc.entity.SuperAggregate public int hashCode() { int result = super.hashCode(); Object $output = getOutput(); int result2 = (result * 59) + ($output == null ? 43 : $output.hashCode()); Object $curOutput = getCurOutput(); int result3 = (result2 * 59) + ($curOutput == null ? 43 : $curOutput.hashCode()); Object $preOutput = getPreOutput(); int result4 = (result3 * 59) + ($preOutput == null ? 43 : $preOutput.hashCode()); Object $employeeId = getEmployeeId(); int result5 = (result4 * 59) + ($employeeId == null ? 43 : $employeeId.hashCode()); Object $ts = getTs(); int result6 = (result5 * 59) + ($ts == null ? 43 : $ts.hashCode()); Object $preTs = getPreTs(); int result7 = (result6 * 59) + ($preTs == null ? 43 : $preTs.hashCode()); Object $program = getProgram(); int result8 = (result7 * 59) + ($program == null ? 43 : $program.hashCode()); Object $productCode = getProductCode(); int result9 = (result8 * 59) + ($productCode == null ? 43 : $productCode.hashCode()); Object $productName = getProductName(); return (result9 * 59) + ($productName == null ? 43 : $productName.hashCode()); } public void setTs(final Timestamp ts) { this.ts = ts; } public void setPreTs(final Timestamp preTs) { this.preTs = preTs; } public void setOutput(final Long output) { this.output = output; } public void setCurOutput(final Long curOutput) { this.curOutput = curOutput; } public void setPreOutput(final Long preOutput) { this.preOutput = preOutput; } public void setProgram(final String program) { this.program = program; } public void setProductCode(final String productCode) { this.productCode = productCode; } public void setProductName(final String productName) { this.productName = productName; } public void setEmployeeId(final Long employeeId) { this.employeeId = employeeId; } @Override // org.springblade.modules.mdc.entity.SuperAggregate public String toString() { return "SuperAggregateOutput(ts=" + getTs() + ", preTs=" + getPreTs() + ", output=" + getOutput() + ", curOutput=" + getCurOutput() + ", preOutput=" + getPreOutput() + ", program=" + getProgram() + ", productCode=" + getProductCode() + ", productName=" + getProductName() + ", employeeId=" + getEmployeeId() + ")"; } public SuperAggregateOutput() { } public SuperAggregateOutput(final Timestamp ts, final Timestamp preTs, final Long output, final Long curOutput, final Long preOutput, final String program, final String productCode, final String productName, final Long employeeId) { this.ts = ts; this.preTs = preTs; this.output = output; this.curOutput = curOutput; this.preOutput = preOutput; this.program = program; this.productCode = productCode; this.productName = productName; this.employeeId = employeeId; } public Timestamp getTs() { return this.ts; } public Timestamp getPreTs() { return this.preTs; } public Long getOutput() { return this.output; } public Long getCurOutput() { return this.curOutput; } public Long getPreOutput() { return this.preOutput; } public String getProgram() { return this.program; } public String getProductCode() { return this.productCode; } public String getProductName() { return this.productName; } public Long getEmployeeId() { return this.employeeId; } }