package com.qianwen.smartman.modules.report.vo;
|
|
import io.swagger.annotations.ApiModelProperty;
|
import java.io.Serializable;
|
import java.sql.Timestamp;
|
|
|
public class WorkstaionAlarmByShiftReportVO implements Serializable {
|
private static final long serialVersionUID = -530938150418043787L;
|
@ApiModelProperty("时间")
|
private Timestamp ts;
|
@ApiModelProperty("展示时间")
|
private String showDate;
|
@ApiModelProperty("工位编号")
|
private String workstationCode;
|
@ApiModelProperty("工位名称")
|
private String workstationName;
|
@ApiModelProperty("工位组")
|
private String workstationGroup;
|
@ApiModelProperty("日")
|
private Integer factoryDate;
|
@ApiModelProperty("报警次数")
|
private Integer alarmCount;
|
@ApiModelProperty("报警次数总和")
|
private Integer alarmCountSum;
|
@ApiModelProperty("工位ID")
|
private Long workstationId;
|
@ApiModelProperty("班次")
|
private Integer shiftIndex;
|
@ApiModelProperty("班次名")
|
private String shiftName;
|
|
|
public static class WorkstaionAlarmByShiftReportVOBuilder {
|
private Timestamp ts;
|
private String showDate;
|
private String workstationCode;
|
private String workstationName;
|
private String workstationGroup;
|
private Integer factoryDate;
|
private Integer alarmCount;
|
private Integer alarmCountSum;
|
private Long workstationId;
|
private Integer shiftIndex;
|
private String shiftName;
|
|
WorkstaionAlarmByShiftReportVOBuilder() {
|
}
|
|
public WorkstaionAlarmByShiftReportVOBuilder ts(final Timestamp ts) {
|
this.ts = ts;
|
return this;
|
}
|
|
public WorkstaionAlarmByShiftReportVOBuilder showDate(final String showDate) {
|
this.showDate = showDate;
|
return this;
|
}
|
|
public WorkstaionAlarmByShiftReportVOBuilder workstationCode(final String workstationCode) {
|
this.workstationCode = workstationCode;
|
return this;
|
}
|
|
public WorkstaionAlarmByShiftReportVOBuilder workstationName(final String workstationName) {
|
this.workstationName = workstationName;
|
return this;
|
}
|
|
public WorkstaionAlarmByShiftReportVOBuilder workstationGroup(final String workstationGroup) {
|
this.workstationGroup = workstationGroup;
|
return this;
|
}
|
|
public WorkstaionAlarmByShiftReportVOBuilder factoryDate(final Integer factoryDate) {
|
this.factoryDate = factoryDate;
|
return this;
|
}
|
|
public WorkstaionAlarmByShiftReportVOBuilder alarmCount(final Integer alarmCount) {
|
this.alarmCount = alarmCount;
|
return this;
|
}
|
|
public WorkstaionAlarmByShiftReportVOBuilder alarmCountSum(final Integer alarmCountSum) {
|
this.alarmCountSum = alarmCountSum;
|
return this;
|
}
|
|
public WorkstaionAlarmByShiftReportVOBuilder workstationId(final Long workstationId) {
|
this.workstationId = workstationId;
|
return this;
|
}
|
|
public WorkstaionAlarmByShiftReportVOBuilder shiftIndex(final Integer shiftIndex) {
|
this.shiftIndex = shiftIndex;
|
return this;
|
}
|
|
public WorkstaionAlarmByShiftReportVOBuilder shiftName(final String shiftName) {
|
this.shiftName = shiftName;
|
return this;
|
}
|
|
public WorkstaionAlarmByShiftReportVO build() {
|
return new WorkstaionAlarmByShiftReportVO(this.ts, this.showDate, this.workstationCode, this.workstationName, this.workstationGroup, this.factoryDate, this.alarmCount, this.alarmCountSum, this.workstationId, this.shiftIndex, this.shiftName);
|
}
|
|
public String toString() {
|
return "WorkstaionAlarmByShiftReportVO.WorkstaionAlarmByShiftReportVOBuilder(ts=" + this.ts + ", showDate=" + this.showDate + ", workstationCode=" + this.workstationCode + ", workstationName=" + this.workstationName + ", workstationGroup=" + this.workstationGroup + ", factoryDate=" + this.factoryDate + ", alarmCount=" + this.alarmCount + ", alarmCountSum=" + this.alarmCountSum + ", workstationId=" + this.workstationId + ", shiftIndex=" + this.shiftIndex + ", shiftName=" + this.shiftName + ")";
|
}
|
}
|
|
public void setTs(final Timestamp ts) {
|
this.ts = ts;
|
}
|
|
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 setFactoryDate(final Integer factoryDate) {
|
this.factoryDate = factoryDate;
|
}
|
|
public void setAlarmCount(final Integer alarmCount) {
|
this.alarmCount = alarmCount;
|
}
|
|
public void setAlarmCountSum(final Integer alarmCountSum) {
|
this.alarmCountSum = alarmCountSum;
|
}
|
|
public void setWorkstationId(final Long workstationId) {
|
this.workstationId = workstationId;
|
}
|
|
public void setShiftIndex(final Integer shiftIndex) {
|
this.shiftIndex = shiftIndex;
|
}
|
|
public void setShiftName(final String shiftName) {
|
this.shiftName = shiftName;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof WorkstaionAlarmByShiftReportVO) {
|
WorkstaionAlarmByShiftReportVO other = (WorkstaionAlarmByShiftReportVO) o;
|
if (other.canEqual(this)) {
|
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$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$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$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$shiftName = getShiftName();
|
Object other$shiftName = other.getShiftName();
|
return this$shiftName == null ? other$shiftName == null : this$shiftName.equals(other$shiftName);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof WorkstaionAlarmByShiftReportVO;
|
}
|
|
public int hashCode() {
|
Object $factoryDate = getFactoryDate();
|
int result = (1 * 59) + ($factoryDate == null ? 43 : $factoryDate.hashCode());
|
Object $alarmCount = getAlarmCount();
|
int result2 = (result * 59) + ($alarmCount == null ? 43 : $alarmCount.hashCode());
|
Object $alarmCountSum = getAlarmCountSum();
|
int result3 = (result2 * 59) + ($alarmCountSum == null ? 43 : $alarmCountSum.hashCode());
|
Object $workstationId = getWorkstationId();
|
int result4 = (result3 * 59) + ($workstationId == null ? 43 : $workstationId.hashCode());
|
Object $shiftIndex = getShiftIndex();
|
int result5 = (result4 * 59) + ($shiftIndex == null ? 43 : $shiftIndex.hashCode());
|
Object $ts = getTs();
|
int result6 = (result5 * 59) + ($ts == null ? 43 : $ts.hashCode());
|
Object $showDate = getShowDate();
|
int result7 = (result6 * 59) + ($showDate == null ? 43 : $showDate.hashCode());
|
Object $workstationCode = getWorkstationCode();
|
int result8 = (result7 * 59) + ($workstationCode == null ? 43 : $workstationCode.hashCode());
|
Object $workstationName = getWorkstationName();
|
int result9 = (result8 * 59) + ($workstationName == null ? 43 : $workstationName.hashCode());
|
Object $workstationGroup = getWorkstationGroup();
|
int result10 = (result9 * 59) + ($workstationGroup == null ? 43 : $workstationGroup.hashCode());
|
Object $shiftName = getShiftName();
|
return (result10 * 59) + ($shiftName == null ? 43 : $shiftName.hashCode());
|
}
|
|
public String toString() {
|
return "WorkstaionAlarmByShiftReportVO(ts=" + getTs() + ", showDate=" + getShowDate() + ", workstationCode=" + getWorkstationCode() + ", workstationName=" + getWorkstationName() + ", workstationGroup=" + getWorkstationGroup() + ", factoryDate=" + getFactoryDate() + ", alarmCount=" + getAlarmCount() + ", alarmCountSum=" + getAlarmCountSum() + ", workstationId=" + getWorkstationId() + ", shiftIndex=" + getShiftIndex() + ", shiftName=" + getShiftName() + ")";
|
}
|
|
public static WorkstaionAlarmByShiftReportVOBuilder builder() {
|
return new WorkstaionAlarmByShiftReportVOBuilder();
|
}
|
|
public WorkstaionAlarmByShiftReportVO() {
|
}
|
|
public WorkstaionAlarmByShiftReportVO(final Timestamp ts, final String showDate, final String workstationCode, final String workstationName, final String workstationGroup, final Integer factoryDate, final Integer alarmCount, final Integer alarmCountSum, final Long workstationId, final Integer shiftIndex, final String shiftName) {
|
this.ts = ts;
|
this.showDate = showDate;
|
this.workstationCode = workstationCode;
|
this.workstationName = workstationName;
|
this.workstationGroup = workstationGroup;
|
this.factoryDate = factoryDate;
|
this.alarmCount = alarmCount;
|
this.alarmCountSum = alarmCountSum;
|
this.workstationId = workstationId;
|
this.shiftIndex = shiftIndex;
|
this.shiftName = shiftName;
|
}
|
|
public Timestamp getTs() {
|
return this.ts;
|
}
|
|
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 getFactoryDate() {
|
return this.factoryDate;
|
}
|
|
public Integer getAlarmCount() {
|
return this.alarmCount;
|
}
|
|
public Integer getAlarmCountSum() {
|
return this.alarmCountSum;
|
}
|
|
public Long getWorkstationId() {
|
return this.workstationId;
|
}
|
|
public Integer getShiftIndex() {
|
return this.shiftIndex;
|
}
|
|
public String getShiftName() {
|
return this.shiftName;
|
}
|
}
|