package com.qianwen.mdc.collect.entity.iotdb; import org.apache.commons.lang3.builder.ToStringBuilder; /** * 聚合状态 */ public class AggregateState { private Long time; private Long workstationId; private Integer valueCollect; private Long durationCollect; private Long endTime; private String calendarCode; private Integer factoryYear; private Integer factoryMonth; private Integer factoryWeek; private Integer factoryDate; private Integer shiftIndex; private Integer shiftTimeType; private Boolean isDeleted; private Boolean isSync; private Integer wcs; private Integer rps; private Integer isPlan; private Long feedbackId;//这个应该只再AggregateStateWithFeedback中有 private Long employeeId; 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 setIsSync(final Boolean isSync) { this.isSync = isSync; } public void setEmployeeId(final Long employeeId) { this.employeeId = employeeId; } protected boolean canEqual(final Object other) { return other instanceof AggregateState; } public String toString() { return ToStringBuilder.reflectionToString(this); } public AggregateState() { } public Long getTime() { return time; } public void setTime(Long time) { this.time = time; } 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 Boolean getIsSync() { return this.isSync; } public Long getEmployeeId() { return this.employeeId; } public Boolean getIsDeleted() { return isDeleted; } public void setIsDeleted(Boolean isDeleted) { this.isDeleted = isDeleted; } public Integer getWcs() { return wcs; } public void setWcs(Integer wcs) { this.wcs = wcs; } public Integer getRps() { return rps; } public void setRps(Integer rps) { this.rps = rps; } public Integer getIsPlan() { return isPlan; } public void setIsPlan(Integer isPlan) { this.isPlan = isPlan; } public Long getFeedbackId() { return feedbackId; } public void setFeedbackId(Long feedbackId) { this.feedbackId = feedbackId; } public Long getDurationCollect() { return durationCollect; } public void setDurationCollect(Long durationCollect) { this.durationCollect = durationCollect; } public Long getEndTime() { return endTime; } public void setEndTime(Long endTime) { this.endTime = endTime; } }