package com.qianwen.smartman.modules.report.vo;
|
|
import io.swagger.annotations.ApiModelProperty;
|
import java.io.Serializable;
|
import java.sql.Timestamp;
|
|
|
public class WorkstaionAlarmByTimeReportVO implements Serializable {
|
private static final long serialVersionUID = -530938150418043787L;
|
@ApiModelProperty("时间")
|
private Timestamp ts;
|
@ApiModelProperty("年")
|
private Integer factoryYear;
|
@ApiModelProperty("月")
|
private Integer factoryMonth;
|
@ApiModelProperty("周")
|
private Integer factoryWeek;
|
@ApiModelProperty("日")
|
private Integer factoryDate;
|
@ApiModelProperty("班次")
|
private Integer shiftIndex;
|
@ApiModelProperty("班次时段")
|
private Integer shiftTimeType;
|
@ApiModelProperty("展示时间")
|
private String showDate;
|
@ApiModelProperty("工位编号")
|
private String workstationCode;
|
@ApiModelProperty("工位名称")
|
private String workstationName;
|
@ApiModelProperty("工位组")
|
private String workstationGroup;
|
@ApiModelProperty("报警次数")
|
private Integer alarmCount;
|
@ApiModelProperty("报警次数总和")
|
private Integer alarmCountSum;
|
@ApiModelProperty("报警代码")
|
private String alarmCode;
|
@ApiModelProperty("工位ID")
|
private Long workstationId;
|
|
|
public static class WorkstaionAlarmByTimeReportVOBuilder {
|
private Timestamp ts;
|
private Integer factoryYear;
|
private Integer factoryMonth;
|
private Integer factoryWeek;
|
private Integer factoryDate;
|
private Integer shiftIndex;
|
private Integer shiftTimeType;
|
private String showDate;
|
private String workstationCode;
|
private String workstationName;
|
private String workstationGroup;
|
private Integer alarmCount;
|
private Integer alarmCountSum;
|
private String alarmCode;
|
private Long workstationId;
|
|
WorkstaionAlarmByTimeReportVOBuilder() {
|
}
|
|
public WorkstaionAlarmByTimeReportVOBuilder ts(final Timestamp ts) {
|
this.ts = ts;
|
return this;
|
}
|
|
public WorkstaionAlarmByTimeReportVOBuilder factoryYear(final Integer factoryYear) {
|
this.factoryYear = factoryYear;
|
return this;
|
}
|
|
public WorkstaionAlarmByTimeReportVOBuilder factoryMonth(final Integer factoryMonth) {
|
this.factoryMonth = factoryMonth;
|
return this;
|
}
|
|
public WorkstaionAlarmByTimeReportVOBuilder factoryWeek(final Integer factoryWeek) {
|
this.factoryWeek = factoryWeek;
|
return this;
|
}
|
|
public WorkstaionAlarmByTimeReportVOBuilder factoryDate(final Integer factoryDate) {
|
this.factoryDate = factoryDate;
|
return this;
|
}
|
|
public WorkstaionAlarmByTimeReportVOBuilder shiftIndex(final Integer shiftIndex) {
|
this.shiftIndex = shiftIndex;
|
return this;
|
}
|
|
public WorkstaionAlarmByTimeReportVOBuilder shiftTimeType(final Integer shiftTimeType) {
|
this.shiftTimeType = shiftTimeType;
|
return this;
|
}
|
|
public WorkstaionAlarmByTimeReportVOBuilder showDate(final String showDate) {
|
this.showDate = showDate;
|
return this;
|
}
|
|
public WorkstaionAlarmByTimeReportVOBuilder workstationCode(final String workstationCode) {
|
this.workstationCode = workstationCode;
|
return this;
|
}
|
|
public WorkstaionAlarmByTimeReportVOBuilder workstationName(final String workstationName) {
|
this.workstationName = workstationName;
|
return this;
|
}
|
|
public WorkstaionAlarmByTimeReportVOBuilder workstationGroup(final String workstationGroup) {
|
this.workstationGroup = workstationGroup;
|
return this;
|
}
|
|
public WorkstaionAlarmByTimeReportVOBuilder alarmCount(final Integer alarmCount) {
|
this.alarmCount = alarmCount;
|
return this;
|
}
|
|
public WorkstaionAlarmByTimeReportVOBuilder alarmCountSum(final Integer alarmCountSum) {
|
this.alarmCountSum = alarmCountSum;
|
return this;
|
}
|
|
public WorkstaionAlarmByTimeReportVOBuilder alarmCode(final String alarmCode) {
|
this.alarmCode = alarmCode;
|
return this;
|
}
|
|
public WorkstaionAlarmByTimeReportVOBuilder workstationId(final Long workstationId) {
|
this.workstationId = workstationId;
|
return this;
|
}
|
|
public WorkstaionAlarmByTimeReportVO build() {
|
return new WorkstaionAlarmByTimeReportVO(this.ts, this.factoryYear, this.factoryMonth, this.factoryWeek, this.factoryDate, this.shiftIndex, this.shiftTimeType, this.showDate, this.workstationCode, this.workstationName, this.workstationGroup, this.alarmCount, this.alarmCountSum, this.alarmCode, this.workstationId);
|
}
|
|
public String toString() {
|
return "WorkstaionAlarmByTimeReportVO.WorkstaionAlarmByTimeReportVOBuilder(ts=" + this.ts + ", factoryYear=" + this.factoryYear + ", factoryMonth=" + this.factoryMonth + ", factoryWeek=" + this.factoryWeek + ", factoryDate=" + this.factoryDate + ", shiftIndex=" + this.shiftIndex + ", shiftTimeType=" + this.shiftTimeType + ", showDate=" + this.showDate + ", workstationCode=" + this.workstationCode + ", workstationName=" + this.workstationName + ", workstationGroup=" + this.workstationGroup + ", alarmCount=" + this.alarmCount + ", alarmCountSum=" + this.alarmCountSum + ", alarmCode=" + this.alarmCode + ", workstationId=" + this.workstationId + ")";
|
}
|
}
|
|
public void setTs(final Timestamp ts) {
|
this.ts = ts;
|
}
|
|
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 setShowDate(final String showDate) {
|
this.showDate = showDate;
|
}
|
|
public void setWorkstationCode(final String workstationCode) {
|
this.workstationCode = workstationCode;
|
}
|
|
public void setWorkstationName(final String workstationName) {
|
this.workstationName = workstationName;
|
}
|
|
public void setWorkstationGroup(final String workstationGroup) {
|
this.workstationGroup = workstationGroup;
|
}
|
|
public void setAlarmCount(final Integer alarmCount) {
|
this.alarmCount = alarmCount;
|
}
|
|
public void setAlarmCountSum(final Integer alarmCountSum) {
|
this.alarmCountSum = alarmCountSum;
|
}
|
|
public void setAlarmCode(final String alarmCode) {
|
this.alarmCode = alarmCode;
|
}
|
|
public void setWorkstationId(final Long workstationId) {
|
this.workstationId = workstationId;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof WorkstaionAlarmByTimeReportVO) {
|
WorkstaionAlarmByTimeReportVO other = (WorkstaionAlarmByTimeReportVO) o;
|
if (other.canEqual(this)) {
|
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$alarmCount = getAlarmCount();
|
Object other$alarmCount = other.getAlarmCount();
|
if (this$alarmCount == null) {
|
if (other$alarmCount != null) {
|
return false;
|
}
|
} else if (!this$alarmCount.equals(other$alarmCount)) {
|
return false;
|
}
|
Object this$alarmCountSum = getAlarmCountSum();
|
Object other$alarmCountSum = other.getAlarmCountSum();
|
if (this$alarmCountSum == null) {
|
if (other$alarmCountSum != null) {
|
return false;
|
}
|
} else if (!this$alarmCountSum.equals(other$alarmCountSum)) {
|
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$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$showDate = getShowDate();
|
Object other$showDate = other.getShowDate();
|
if (this$showDate == null) {
|
if (other$showDate != null) {
|
return false;
|
}
|
} else if (!this$showDate.equals(other$showDate)) {
|
return false;
|
}
|
Object this$workstationCode = getWorkstationCode();
|
Object other$workstationCode = other.getWorkstationCode();
|
if (this$workstationCode == null) {
|
if (other$workstationCode != null) {
|
return false;
|
}
|
} else if (!this$workstationCode.equals(other$workstationCode)) {
|
return false;
|
}
|
Object this$workstationName = getWorkstationName();
|
Object other$workstationName = other.getWorkstationName();
|
if (this$workstationName == null) {
|
if (other$workstationName != null) {
|
return false;
|
}
|
} else if (!this$workstationName.equals(other$workstationName)) {
|
return false;
|
}
|
Object this$workstationGroup = getWorkstationGroup();
|
Object other$workstationGroup = other.getWorkstationGroup();
|
if (this$workstationGroup == null) {
|
if (other$workstationGroup != null) {
|
return false;
|
}
|
} else if (!this$workstationGroup.equals(other$workstationGroup)) {
|
return false;
|
}
|
Object this$alarmCode = getAlarmCode();
|
Object other$alarmCode = other.getAlarmCode();
|
return this$alarmCode == null ? other$alarmCode == null : this$alarmCode.equals(other$alarmCode);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof WorkstaionAlarmByTimeReportVO;
|
}
|
|
public int hashCode() {
|
Object $factoryYear = getFactoryYear();
|
int result = (1 * 59) + ($factoryYear == null ? 43 : $factoryYear.hashCode());
|
Object $factoryMonth = getFactoryMonth();
|
int result2 = (result * 59) + ($factoryMonth == null ? 43 : $factoryMonth.hashCode());
|
Object $factoryWeek = getFactoryWeek();
|
int result3 = (result2 * 59) + ($factoryWeek == null ? 43 : $factoryWeek.hashCode());
|
Object $factoryDate = getFactoryDate();
|
int result4 = (result3 * 59) + ($factoryDate == null ? 43 : $factoryDate.hashCode());
|
Object $shiftIndex = getShiftIndex();
|
int result5 = (result4 * 59) + ($shiftIndex == null ? 43 : $shiftIndex.hashCode());
|
Object $shiftTimeType = getShiftTimeType();
|
int result6 = (result5 * 59) + ($shiftTimeType == null ? 43 : $shiftTimeType.hashCode());
|
Object $alarmCount = getAlarmCount();
|
int result7 = (result6 * 59) + ($alarmCount == null ? 43 : $alarmCount.hashCode());
|
Object $alarmCountSum = getAlarmCountSum();
|
int result8 = (result7 * 59) + ($alarmCountSum == null ? 43 : $alarmCountSum.hashCode());
|
Object $workstationId = getWorkstationId();
|
int result9 = (result8 * 59) + ($workstationId == null ? 43 : $workstationId.hashCode());
|
Object $ts = getTs();
|
int result10 = (result9 * 59) + ($ts == null ? 43 : $ts.hashCode());
|
Object $showDate = getShowDate();
|
int result11 = (result10 * 59) + ($showDate == null ? 43 : $showDate.hashCode());
|
Object $workstationCode = getWorkstationCode();
|
int result12 = (result11 * 59) + ($workstationCode == null ? 43 : $workstationCode.hashCode());
|
Object $workstationName = getWorkstationName();
|
int result13 = (result12 * 59) + ($workstationName == null ? 43 : $workstationName.hashCode());
|
Object $workstationGroup = getWorkstationGroup();
|
int result14 = (result13 * 59) + ($workstationGroup == null ? 43 : $workstationGroup.hashCode());
|
Object $alarmCode = getAlarmCode();
|
return (result14 * 59) + ($alarmCode == null ? 43 : $alarmCode.hashCode());
|
}
|
|
public String toString() {
|
return "WorkstaionAlarmByTimeReportVO(ts=" + getTs() + ", factoryYear=" + getFactoryYear() + ", factoryMonth=" + getFactoryMonth() + ", factoryWeek=" + getFactoryWeek() + ", factoryDate=" + getFactoryDate() + ", shiftIndex=" + getShiftIndex() + ", shiftTimeType=" + getShiftTimeType() + ", showDate=" + getShowDate() + ", workstationCode=" + getWorkstationCode() + ", workstationName=" + getWorkstationName() + ", workstationGroup=" + getWorkstationGroup() + ", alarmCount=" + getAlarmCount() + ", alarmCountSum=" + getAlarmCountSum() + ", alarmCode=" + getAlarmCode() + ", workstationId=" + getWorkstationId() + ")";
|
}
|
|
public static WorkstaionAlarmByTimeReportVOBuilder builder() {
|
return new WorkstaionAlarmByTimeReportVOBuilder();
|
}
|
|
public WorkstaionAlarmByTimeReportVO() {
|
}
|
|
public WorkstaionAlarmByTimeReportVO(final Timestamp ts, final Integer factoryYear, final Integer factoryMonth, final Integer factoryWeek, final Integer factoryDate, final Integer shiftIndex, final Integer shiftTimeType, final String showDate, final String workstationCode, final String workstationName, final String workstationGroup, final Integer alarmCount, final Integer alarmCountSum, final String alarmCode, final Long workstationId) {
|
this.ts = ts;
|
this.factoryYear = factoryYear;
|
this.factoryMonth = factoryMonth;
|
this.factoryWeek = factoryWeek;
|
this.factoryDate = factoryDate;
|
this.shiftIndex = shiftIndex;
|
this.shiftTimeType = shiftTimeType;
|
this.showDate = showDate;
|
this.workstationCode = workstationCode;
|
this.workstationName = workstationName;
|
this.workstationGroup = workstationGroup;
|
this.alarmCount = alarmCount;
|
this.alarmCountSum = alarmCountSum;
|
this.alarmCode = alarmCode;
|
this.workstationId = workstationId;
|
}
|
|
public Timestamp getTs() {
|
return this.ts;
|
}
|
|
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 getShowDate() {
|
return this.showDate;
|
}
|
|
public String getWorkstationCode() {
|
return this.workstationCode;
|
}
|
|
public String getWorkstationName() {
|
return this.workstationName;
|
}
|
|
public String getWorkstationGroup() {
|
return this.workstationGroup;
|
}
|
|
public Integer getAlarmCount() {
|
return this.alarmCount;
|
}
|
|
public Integer getAlarmCountSum() {
|
return this.alarmCountSum;
|
}
|
|
public String getAlarmCode() {
|
return this.alarmCode;
|
}
|
|
public Long getWorkstationId() {
|
return this.workstationId;
|
}
|
}
|