package com.qianwen.mdc.collect.entity.iotdb; import com.baomidou.mybatisplus.annotation.TableName; //@TableName("iot_data.super_aggregate_state_with_feedback") public class AggregateStateWithFeedback { private Long time; private Long endTime; private Long durationCollect; private Long workstationId; private Integer valueCollect; private String calendarCode; private Integer factoryYear; private Integer factoryMonth; private Integer factoryWeek; private Integer factoryDate; private Integer shiftIndex; private Integer shiftTimeType; private Integer wcs; private Integer rps; private Boolean isDeleted; private Integer isPlan; private Long feedbackId; public static class WorkstationAggregateStateWithFeedbackBuilder { private Long time; private Long endTime; private Long durationCollect; private Long workstationId; private Integer valueCollect; private String calendarCode; private Integer factoryYear; private Integer factoryMonth; private Integer factoryWeek; private Integer factoryDate; private Integer shiftIndex; private Integer shiftTimeType; private Integer wcs; private Integer rps; private Boolean isDeleted; private Integer isPlan; private Long feedbackId; WorkstationAggregateStateWithFeedbackBuilder() { } public WorkstationAggregateStateWithFeedbackBuilder time(final Long time) { this.time = time; return this; } public WorkstationAggregateStateWithFeedbackBuilder endTime(final Long endTime) { this.endTime = endTime; return this; } public WorkstationAggregateStateWithFeedbackBuilder durationCollect(final Long durationCollect) { this.durationCollect = durationCollect; return this; } public WorkstationAggregateStateWithFeedbackBuilder workstationId(final Long workstationId) { this.workstationId = workstationId; return this; } public WorkstationAggregateStateWithFeedbackBuilder valueCollect(final Integer valueCollect) { this.valueCollect = valueCollect; return this; } public WorkstationAggregateStateWithFeedbackBuilder calendarCode(final String calendarCode) { this.calendarCode = calendarCode; return this; } public WorkstationAggregateStateWithFeedbackBuilder factoryYear(final Integer factoryYear) { this.factoryYear = factoryYear; return this; } public WorkstationAggregateStateWithFeedbackBuilder factoryMonth(final Integer factoryMonth) { this.factoryMonth = factoryMonth; return this; } public WorkstationAggregateStateWithFeedbackBuilder factoryWeek(final Integer factoryWeek) { this.factoryWeek = factoryWeek; return this; } public WorkstationAggregateStateWithFeedbackBuilder factoryDate(final Integer factoryDate) { this.factoryDate = factoryDate; return this; } public WorkstationAggregateStateWithFeedbackBuilder shiftIndex(final Integer shiftIndex) { this.shiftIndex = shiftIndex; return this; } public WorkstationAggregateStateWithFeedbackBuilder shiftTimeType(final Integer shiftTimeType) { this.shiftTimeType = shiftTimeType; return this; } public WorkstationAggregateStateWithFeedbackBuilder wcs(final Integer wcs) { this.wcs = wcs; return this; } public WorkstationAggregateStateWithFeedbackBuilder rps(final Integer rps) { this.rps = rps; return this; } public WorkstationAggregateStateWithFeedbackBuilder isDeleted(final Boolean isDeleted) { this.isDeleted = isDeleted; return this; } public WorkstationAggregateStateWithFeedbackBuilder isPlan(final Integer isPlan) { this.isPlan = isPlan; return this; } public WorkstationAggregateStateWithFeedbackBuilder feedbackId(final Long feedbackId) { this.feedbackId = feedbackId; return this; } public AggregateStateWithFeedback build() { return new AggregateStateWithFeedback(this.time, this.endTime, this.durationCollect, this.workstationId, this.valueCollect, this.calendarCode, this.factoryYear, this.factoryMonth, this.factoryWeek, this.factoryDate, this.shiftIndex, this.shiftTimeType, this.wcs, this.rps, this.isDeleted, this.isPlan, this.feedbackId); } public String toString() { return "WorkstationAggregateStateWithFeedback.WorkstationAggregateStateWithFeedbackBuilder(time=" + this.time + ", endTime=" + this.endTime + ", durationCollect=" + this.durationCollect + ", workstationId=" + this.workstationId + ", valueCollect=" + this.valueCollect + ", calendarCode=" + this.calendarCode + ", factoryYear=" + this.factoryYear + ", factoryMonth=" + this.factoryMonth + ", factoryWeek=" + this.factoryWeek + ", factoryDate=" + this.factoryDate + ", shiftIndex=" + this.shiftIndex + ", shiftTimeType=" + this.shiftTimeType + ", wcs=" + this.wcs + ", rps=" + this.rps + ", isDeleted=" + this.isDeleted + ", isPlan=" + this.isPlan + ", feedbackId=" + this.feedbackId + ")"; } } public void setTime(final Long time) { this.time = time; } public void setEndTime(final Long endTime) { this.endTime = endTime; } public void setDurationCollect(final Long durationCollect) { this.durationCollect = durationCollect; } public void setWorkstationId(final Long workstationId) { this.workstationId = workstationId; } public void setValueCollect(final Integer valueCollect) { this.valueCollect = valueCollect; } 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 setWcs(final Integer wcs) { this.wcs = wcs; } public void setRps(final Integer rps) { this.rps = rps; } public void setIsDeleted(final Boolean isDeleted) { this.isDeleted = isDeleted; } public void setIsPlan(final Integer isPlan) { this.isPlan = isPlan; } public void setFeedbackId(final Long feedbackId) { this.feedbackId = feedbackId; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof AggregateStateWithFeedback) { AggregateStateWithFeedback other = (AggregateStateWithFeedback) o; if (other.canEqual(this)) { Object this$ts = getTime(); Object other$ts = other.getTime(); if (this$ts == null) { if (other$ts != null) { return false; } } else if (!this$ts.equals(other$ts)) { return false; } Object this$endTime = getEndTime(); Object other$endTime = other.getEndTime(); if (this$endTime == null) { if (other$endTime != null) { return false; } } else if (!this$endTime.equals(other$endTime)) { return false; } Object this$durationCollect = getDurationCollect(); Object other$durationCollect = other.getDurationCollect(); if (this$durationCollect == null) { if (other$durationCollect != null) { return false; } } else if (!this$durationCollect.equals(other$durationCollect)) { 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$valueCollect = getValueCollect(); Object other$valueCollect = other.getValueCollect(); if (this$valueCollect == null) { if (other$valueCollect != null) { return false; } } else if (!this$valueCollect.equals(other$valueCollect)) { 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$wcs = getWcs(); Object other$wcs = other.getWcs(); if (this$wcs == null) { if (other$wcs != null) { return false; } } else if (!this$wcs.equals(other$wcs)) { return false; } Object this$rps = getRps(); Object other$rps = other.getRps(); if (this$rps == null) { if (other$rps != null) { return false; } } else if (!this$rps.equals(other$rps)) { return false; } Object this$isDeleted = getIsDeleted(); Object other$isDeleted = other.getIsDeleted(); if (this$isDeleted == null) { if (other$isDeleted != null) { return false; } } else if (!this$isDeleted.equals(other$isDeleted)) { return false; } Object this$isPlan = getIsPlan(); Object other$isPlan = other.getIsPlan(); if (this$isPlan == null) { if (other$isPlan != null) { return false; } } else if (!this$isPlan.equals(other$isPlan)) { return false; } Object this$feedbackId = getFeedbackId(); Object other$feedbackId = other.getFeedbackId(); if (this$feedbackId == null) { if (other$feedbackId != null) { return false; } } else if (!this$feedbackId.equals(other$feedbackId)) { return false; } Object this$calendarCode = getCalendarCode(); Object other$calendarCode = other.getCalendarCode(); return this$calendarCode == null ? other$calendarCode == null : this$calendarCode.equals(other$calendarCode); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof AggregateStateWithFeedback; } public int hashCode() { Object $ts = getTime(); int result = (1 * 59) + ($ts == null ? 43 : $ts.hashCode()); Object $endTime = getEndTime(); int result2 = (result * 59) + ($endTime == null ? 43 : $endTime.hashCode()); Object $durationCollect = getDurationCollect(); int result3 = (result2 * 59) + ($durationCollect == null ? 43 : $durationCollect.hashCode()); Object $workstationId = getWorkstationId(); int result4 = (result3 * 59) + ($workstationId == null ? 43 : $workstationId.hashCode()); Object $valueCollect = getValueCollect(); int result5 = (result4 * 59) + ($valueCollect == null ? 43 : $valueCollect.hashCode()); Object $factoryYear = getFactoryYear(); int result6 = (result5 * 59) + ($factoryYear == null ? 43 : $factoryYear.hashCode()); Object $factoryMonth = getFactoryMonth(); int result7 = (result6 * 59) + ($factoryMonth == null ? 43 : $factoryMonth.hashCode()); Object $factoryWeek = getFactoryWeek(); int result8 = (result7 * 59) + ($factoryWeek == null ? 43 : $factoryWeek.hashCode()); Object $factoryDate = getFactoryDate(); int result9 = (result8 * 59) + ($factoryDate == null ? 43 : $factoryDate.hashCode()); Object $shiftIndex = getShiftIndex(); int result10 = (result9 * 59) + ($shiftIndex == null ? 43 : $shiftIndex.hashCode()); Object $shiftTimeType = getShiftTimeType(); int result11 = (result10 * 59) + ($shiftTimeType == null ? 43 : $shiftTimeType.hashCode()); Object $wcs = getWcs(); int result12 = (result11 * 59) + ($wcs == null ? 43 : $wcs.hashCode()); Object $rps = getRps(); int result13 = (result12 * 59) + ($rps == null ? 43 : $rps.hashCode()); Object $isDeleted = getIsDeleted(); int result14 = (result13 * 59) + ($isDeleted == null ? 43 : $isDeleted.hashCode()); Object $isPlan = getIsPlan(); int result15 = (result14 * 59) + ($isPlan == null ? 43 : $isPlan.hashCode()); Object $feedbackId = getFeedbackId(); int result16 = (result15 * 59) + ($feedbackId == null ? 43 : $feedbackId.hashCode()); Object $calendarCode = getCalendarCode(); return (result16 * 59) + ($calendarCode == null ? 43 : $calendarCode.hashCode()); } public String toString() { return "WorkstationAggregateStateWithFeedback(time=" + getTime() + ", endTime=" + getEndTime() + ", durationCollect=" + getDurationCollect() + ", workstationId=" + getWorkstationId() + ", valueCollect=" + getValueCollect() + ", calendarCode=" + getCalendarCode() + ", factoryYear=" + getFactoryYear() + ", factoryMonth=" + getFactoryMonth() + ", factoryWeek=" + getFactoryWeek() + ", factoryDate=" + getFactoryDate() + ", shiftIndex=" + getShiftIndex() + ", shiftTimeType=" + getShiftTimeType() + ", wcs=" + getWcs() + ", rps=" + getRps() + ", isDeleted=" + getIsDeleted() + ", isPlan=" + getIsPlan() + ", feedbackId=" + getFeedbackId() + ")"; } public static WorkstationAggregateStateWithFeedbackBuilder builder() { return new WorkstationAggregateStateWithFeedbackBuilder(); } public AggregateStateWithFeedback(final Long time, final Long endTime, final Long durationCollect, final Long workstationId, final Integer valueCollect, final String calendarCode, final Integer factoryYear, final Integer factoryMonth, final Integer factoryWeek, final Integer factoryDate, final Integer shiftIndex, final Integer shiftTimeType, final Integer wcs, final Integer rps, final Boolean isDeleted, final Integer isPlan, final Long feedbackId) { this.time = time; this.endTime = endTime; this.durationCollect = durationCollect; this.workstationId = workstationId; this.valueCollect = valueCollect; this.calendarCode = calendarCode; this.factoryYear = factoryYear; this.factoryMonth = factoryMonth; this.factoryWeek = factoryWeek; this.factoryDate = factoryDate; this.shiftIndex = shiftIndex; this.shiftTimeType = shiftTimeType; this.wcs = wcs; this.rps = rps; this.isDeleted = isDeleted; this.isPlan = isPlan; this.feedbackId = feedbackId; } public AggregateStateWithFeedback() { } public Long getTime() { return this.time; } public Long getEndTime() { return this.endTime; } public Long getDurationCollect() { return this.durationCollect; } public Long getWorkstationId() { return this.workstationId; } public Integer getValueCollect() { return this.valueCollect; } 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 Integer getWcs() { return this.wcs; } public Integer getRps() { return this.rps; } public Boolean getIsDeleted() { return this.isDeleted; } public Integer getIsPlan() { return this.isPlan; } public Long getFeedbackId() { return this.feedbackId; } }