package com.qianwen.smartman.modules.mdc.excel; import com.alibaba.excel.annotation.ExcelProperty; import com.alibaba.excel.annotation.write.style.ColumnWidth; import com.alibaba.excel.annotation.write.style.ContentRowHeight; import com.alibaba.excel.annotation.write.style.HeadRowHeight; import java.io.Serializable; import com.qianwen.smartman.common.cache.RegionCache; @HeadRowHeight(20) @ColumnWidth(16) @ContentRowHeight(18) /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/mdc/excel/StatusRecordExport.class */ public class StatusRecordExport implements Serializable { private static final long serialVersionUID = 5137988533735539904L; @ExcelProperty(value = {"日期"}, index = 0) private String date; @ExcelProperty(value = {"工位组"}, index = 1) private String groupName; @ExcelProperty(value = {"工位编号"}, index = 2) private String workstationCode; @ExcelProperty(value = {"工位名称"}, index = 3) private String workstationName; @ExcelProperty(value = {"工况状态"}, index = 4) private String status; @ExcelProperty(value = {"开始时间"}, index = RegionCache.VILLAGE_LEVEL) private String startTime; @ExcelProperty(value = {"结束时间"}, index = 6) private String endTime; @ExcelProperty(value = {"持续时长(分钟)"}, index = 7) private String duration; public void setDate(final String date) { this.date = date; } public void setGroupName(final String groupName) { this.groupName = groupName; } public void setWorkstationCode(final String workstationCode) { this.workstationCode = workstationCode; } public void setWorkstationName(final String workstationName) { this.workstationName = workstationName; } public void setStatus(final String status) { this.status = status; } public void setStartTime(final String startTime) { this.startTime = startTime; } public void setEndTime(final String endTime) { this.endTime = endTime; } public void setDuration(final String duration) { this.duration = duration; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof StatusRecordExport) { StatusRecordExport other = (StatusRecordExport) o; if (other.canEqual(this)) { Object this$date = getDate(); Object other$date = other.getDate(); if (this$date == null) { if (other$date != null) { return false; } } else if (!this$date.equals(other$date)) { return false; } Object this$groupName = getGroupName(); Object other$groupName = other.getGroupName(); if (this$groupName == null) { if (other$groupName != null) { return false; } } else if (!this$groupName.equals(other$groupName)) { 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$status = getStatus(); Object other$status = other.getStatus(); if (this$status == null) { if (other$status != null) { return false; } } else if (!this$status.equals(other$status)) { return false; } Object this$startTime = getStartTime(); Object other$startTime = other.getStartTime(); if (this$startTime == null) { if (other$startTime != null) { return false; } } else if (!this$startTime.equals(other$startTime)) { 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$duration = getDuration(); Object other$duration = other.getDuration(); return this$duration == null ? other$duration == null : this$duration.equals(other$duration); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof StatusRecordExport; } public int hashCode() { Object $date = getDate(); int result = (1 * 59) + ($date == null ? 43 : $date.hashCode()); Object $groupName = getGroupName(); int result2 = (result * 59) + ($groupName == null ? 43 : $groupName.hashCode()); Object $workstationCode = getWorkstationCode(); int result3 = (result2 * 59) + ($workstationCode == null ? 43 : $workstationCode.hashCode()); Object $workstationName = getWorkstationName(); int result4 = (result3 * 59) + ($workstationName == null ? 43 : $workstationName.hashCode()); Object $status = getStatus(); int result5 = (result4 * 59) + ($status == null ? 43 : $status.hashCode()); Object $startTime = getStartTime(); int result6 = (result5 * 59) + ($startTime == null ? 43 : $startTime.hashCode()); Object $endTime = getEndTime(); int result7 = (result6 * 59) + ($endTime == null ? 43 : $endTime.hashCode()); Object $duration = getDuration(); return (result7 * 59) + ($duration == null ? 43 : $duration.hashCode()); } public String toString() { return "StatusRecordExport(date=" + getDate() + ", groupName=" + getGroupName() + ", workstationCode=" + getWorkstationCode() + ", workstationName=" + getWorkstationName() + ", status=" + getStatus() + ", startTime=" + getStartTime() + ", endTime=" + getEndTime() + ", duration=" + getDuration() + ")"; } public StatusRecordExport() { } public StatusRecordExport(final String date, final String groupName, final String workstationCode, final String workstationName, final String status, final String startTime, final String endTime, final String duration) { this.date = date; this.groupName = groupName; this.workstationCode = workstationCode; this.workstationName = workstationName; this.status = status; this.startTime = startTime; this.endTime = endTime; this.duration = duration; } public String getDate() { return this.date; } public String getGroupName() { return this.groupName; } public String getWorkstationCode() { return this.workstationCode; } public String getWorkstationName() { return this.workstationName; } public String getStatus() { return this.status; } public String getStartTime() { return this.startTime; } public String getEndTime() { return this.endTime; } public String getDuration() { return this.duration; } }