package com.qianwen.smartman.modules.tdengine.entity;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
@TableName("iot_data.super_aggregate_count_data")
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/tdengine/entity/WorkstationAggregatePulseData.class */
|
public class WorkstationAggregatePulseData {
|
private Long ts;
|
private Long preTs;
|
private Long workstationId;
|
private Long output;
|
private Long curOutput;
|
private Long preOutput;
|
private String calendarCode;
|
private Integer factoryYear;
|
private Integer factoryMonth;
|
private Integer factoryWeek;
|
private Integer factoryDate;
|
private Integer shiftIndex;
|
private Integer shiftTimeType;
|
private String program;
|
private String productCode;
|
private String productName;
|
private Long employeeId;
|
|
public void setTs(final Long ts) {
|
this.ts = ts;
|
}
|
|
public void setPreTs(final Long preTs) {
|
this.preTs = preTs;
|
}
|
|
public void setWorkstationId(final Long workstationId) {
|
this.workstationId = workstationId;
|
}
|
|
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 setCalendarCode(final String calendarCode) {
|
this.calendarCode = calendarCode;
|
}
|
|
public void setFactoryYear(final Integer factoryYear) {
|
this.factoryYear = factoryYear;
|
}
|
|
public void setFactoryMonth(final Integer factoryMonth) {
|
this.factoryMonth = factoryMonth;
|
}
|
|
public void setFactoryWeek(final Integer factoryWeek) {
|
this.factoryWeek = factoryWeek;
|
}
|
|
public void setFactoryDate(final Integer factoryDate) {
|
this.factoryDate = factoryDate;
|
}
|
|
public void setShiftIndex(final Integer shiftIndex) {
|
this.shiftIndex = shiftIndex;
|
}
|
|
public void setShiftTimeType(final Integer shiftTimeType) {
|
this.shiftTimeType = shiftTimeType;
|
}
|
|
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;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof WorkstationAggregatePulseData) {
|
WorkstationAggregatePulseData other = (WorkstationAggregatePulseData) o;
|
if (other.canEqual(this)) {
|
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$workstationId = getWorkstationId();
|
Object other$workstationId = other.getWorkstationId();
|
if (this$workstationId == null) {
|
if (other$workstationId != null) {
|
return false;
|
}
|
} else if (!this$workstationId.equals(other$workstationId)) {
|
return false;
|
}
|
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$factoryYear = getFactoryYear();
|
Object other$factoryYear = other.getFactoryYear();
|
if (this$factoryYear == null) {
|
if (other$factoryYear != null) {
|
return false;
|
}
|
} else if (!this$factoryYear.equals(other$factoryYear)) {
|
return false;
|
}
|
Object this$factoryMonth = getFactoryMonth();
|
Object other$factoryMonth = other.getFactoryMonth();
|
if (this$factoryMonth == null) {
|
if (other$factoryMonth != null) {
|
return false;
|
}
|
} else if (!this$factoryMonth.equals(other$factoryMonth)) {
|
return false;
|
}
|
Object this$factoryWeek = getFactoryWeek();
|
Object other$factoryWeek = other.getFactoryWeek();
|
if (this$factoryWeek == null) {
|
if (other$factoryWeek != null) {
|
return false;
|
}
|
} else if (!this$factoryWeek.equals(other$factoryWeek)) {
|
return false;
|
}
|
Object this$factoryDate = getFactoryDate();
|
Object other$factoryDate = other.getFactoryDate();
|
if (this$factoryDate == null) {
|
if (other$factoryDate != null) {
|
return false;
|
}
|
} else if (!this$factoryDate.equals(other$factoryDate)) {
|
return false;
|
}
|
Object this$shiftIndex = getShiftIndex();
|
Object other$shiftIndex = other.getShiftIndex();
|
if (this$shiftIndex == null) {
|
if (other$shiftIndex != null) {
|
return false;
|
}
|
} else if (!this$shiftIndex.equals(other$shiftIndex)) {
|
return false;
|
}
|
Object this$shiftTimeType = getShiftTimeType();
|
Object other$shiftTimeType = other.getShiftTimeType();
|
if (this$shiftTimeType == null) {
|
if (other$shiftTimeType != null) {
|
return false;
|
}
|
} else if (!this$shiftTimeType.equals(other$shiftTimeType)) {
|
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$calendarCode = getCalendarCode();
|
Object other$calendarCode = other.getCalendarCode();
|
if (this$calendarCode == null) {
|
if (other$calendarCode != null) {
|
return false;
|
}
|
} else if (!this$calendarCode.equals(other$calendarCode)) {
|
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;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof WorkstationAggregatePulseData;
|
}
|
|
public int hashCode() {
|
Object $ts = getTs();
|
int result = (1 * 59) + ($ts == null ? 43 : $ts.hashCode());
|
Object $preTs = getPreTs();
|
int result2 = (result * 59) + ($preTs == null ? 43 : $preTs.hashCode());
|
Object $workstationId = getWorkstationId();
|
int result3 = (result2 * 59) + ($workstationId == null ? 43 : $workstationId.hashCode());
|
Object $output = getOutput();
|
int result4 = (result3 * 59) + ($output == null ? 43 : $output.hashCode());
|
Object $curOutput = getCurOutput();
|
int result5 = (result4 * 59) + ($curOutput == null ? 43 : $curOutput.hashCode());
|
Object $preOutput = getPreOutput();
|
int result6 = (result5 * 59) + ($preOutput == null ? 43 : $preOutput.hashCode());
|
Object $factoryYear = getFactoryYear();
|
int result7 = (result6 * 59) + ($factoryYear == null ? 43 : $factoryYear.hashCode());
|
Object $factoryMonth = getFactoryMonth();
|
int result8 = (result7 * 59) + ($factoryMonth == null ? 43 : $factoryMonth.hashCode());
|
Object $factoryWeek = getFactoryWeek();
|
int result9 = (result8 * 59) + ($factoryWeek == null ? 43 : $factoryWeek.hashCode());
|
Object $factoryDate = getFactoryDate();
|
int result10 = (result9 * 59) + ($factoryDate == null ? 43 : $factoryDate.hashCode());
|
Object $shiftIndex = getShiftIndex();
|
int result11 = (result10 * 59) + ($shiftIndex == null ? 43 : $shiftIndex.hashCode());
|
Object $shiftTimeType = getShiftTimeType();
|
int result12 = (result11 * 59) + ($shiftTimeType == null ? 43 : $shiftTimeType.hashCode());
|
Object $employeeId = getEmployeeId();
|
int result13 = (result12 * 59) + ($employeeId == null ? 43 : $employeeId.hashCode());
|
Object $calendarCode = getCalendarCode();
|
int result14 = (result13 * 59) + ($calendarCode == null ? 43 : $calendarCode.hashCode());
|
Object $program = getProgram();
|
int result15 = (result14 * 59) + ($program == null ? 43 : $program.hashCode());
|
Object $productCode = getProductCode();
|
int result16 = (result15 * 59) + ($productCode == null ? 43 : $productCode.hashCode());
|
Object $productName = getProductName();
|
return (result16 * 59) + ($productName == null ? 43 : $productName.hashCode());
|
}
|
|
public String toString() {
|
return "WorkstationAggregatePulseData(ts=" + getTs() + ", preTs=" + getPreTs() + ", workstationId=" + getWorkstationId() + ", output=" + getOutput() + ", curOutput=" + getCurOutput() + ", preOutput=" + getPreOutput() + ", calendarCode=" + getCalendarCode() + ", factoryYear=" + getFactoryYear() + ", factoryMonth=" + getFactoryMonth() + ", factoryWeek=" + getFactoryWeek() + ", factoryDate=" + getFactoryDate() + ", shiftIndex=" + getShiftIndex() + ", shiftTimeType=" + getShiftTimeType() + ", program=" + getProgram() + ", productCode=" + getProductCode() + ", productName=" + getProductName() + ", employeeId=" + getEmployeeId() + ")";
|
}
|
|
public Long getTs() {
|
return this.ts;
|
}
|
|
public Long getPreTs() {
|
return this.preTs;
|
}
|
|
public Long getWorkstationId() {
|
return this.workstationId;
|
}
|
|
public Long getOutput() {
|
return this.output;
|
}
|
|
public Long getCurOutput() {
|
return this.curOutput;
|
}
|
|
public Long getPreOutput() {
|
return this.preOutput;
|
}
|
|
public String getCalendarCode() {
|
return this.calendarCode;
|
}
|
|
public Integer getFactoryYear() {
|
return this.factoryYear;
|
}
|
|
public Integer getFactoryMonth() {
|
return this.factoryMonth;
|
}
|
|
public Integer getFactoryWeek() {
|
return this.factoryWeek;
|
}
|
|
public Integer getFactoryDate() {
|
return this.factoryDate;
|
}
|
|
public Integer getShiftIndex() {
|
return this.shiftIndex;
|
}
|
|
public Integer getShiftTimeType() {
|
return this.shiftTimeType;
|
}
|
|
public String getProgram() {
|
return this.program;
|
}
|
|
public String getProductCode() {
|
return this.productCode;
|
}
|
|
public String getProductName() {
|
return this.productName;
|
}
|
|
public Long getEmployeeId() {
|
return this.employeeId;
|
}
|
}
|