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/TimeUsedDateExcel.class */
|
public class TimeUsedDateExcel implements Serializable {
|
private static final long serialVersionUID = -1941308140397536285L;
|
@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 running;
|
@ExcelProperty(value = {"待机"}, index = RegionCache.VILLAGE_LEVEL)
|
private String standby;
|
@ExcelProperty(value = {"调试"}, index = 6)
|
private String debugging;
|
@ExcelProperty(value = {"报警"}, index = 7)
|
private String alarm;
|
@ExcelProperty(value = {"离线"}, index = 8)
|
private String offline;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/mdc/excel/TimeUsedDateExcel$TimeUsedDateExcelBuilder.class */
|
public static class TimeUsedDateExcelBuilder {
|
private String date;
|
private String groupName;
|
private String workstationCode;
|
private String workstationName;
|
private String running;
|
private String standby;
|
private String debugging;
|
private String alarm;
|
private String offline;
|
|
TimeUsedDateExcelBuilder() {
|
}
|
|
public TimeUsedDateExcelBuilder date(final String date) {
|
this.date = date;
|
return this;
|
}
|
|
public TimeUsedDateExcelBuilder groupName(final String groupName) {
|
this.groupName = groupName;
|
return this;
|
}
|
|
public TimeUsedDateExcelBuilder workstationCode(final String workstationCode) {
|
this.workstationCode = workstationCode;
|
return this;
|
}
|
|
public TimeUsedDateExcelBuilder workstationName(final String workstationName) {
|
this.workstationName = workstationName;
|
return this;
|
}
|
|
public TimeUsedDateExcelBuilder running(final String running) {
|
this.running = running;
|
return this;
|
}
|
|
public TimeUsedDateExcelBuilder standby(final String standby) {
|
this.standby = standby;
|
return this;
|
}
|
|
public TimeUsedDateExcelBuilder debugging(final String debugging) {
|
this.debugging = debugging;
|
return this;
|
}
|
|
public TimeUsedDateExcelBuilder alarm(final String alarm) {
|
this.alarm = alarm;
|
return this;
|
}
|
|
public TimeUsedDateExcelBuilder offline(final String offline) {
|
this.offline = offline;
|
return this;
|
}
|
|
public TimeUsedDateExcel build() {
|
return new TimeUsedDateExcel(this.date, this.groupName, this.workstationCode, this.workstationName, this.running, this.standby, this.debugging, this.alarm, this.offline);
|
}
|
|
public String toString() {
|
return "TimeUsedDateExcel.TimeUsedDateExcelBuilder(date=" + this.date + ", groupName=" + this.groupName + ", workstationCode=" + this.workstationCode + ", workstationName=" + this.workstationName + ", running=" + this.running + ", standby=" + this.standby + ", debugging=" + this.debugging + ", alarm=" + this.alarm + ", offline=" + this.offline + ")";
|
}
|
}
|
|
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 setRunning(final String running) {
|
this.running = running;
|
}
|
|
public void setStandby(final String standby) {
|
this.standby = standby;
|
}
|
|
public void setDebugging(final String debugging) {
|
this.debugging = debugging;
|
}
|
|
public void setAlarm(final String alarm) {
|
this.alarm = alarm;
|
}
|
|
public void setOffline(final String offline) {
|
this.offline = offline;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof TimeUsedDateExcel) {
|
TimeUsedDateExcel other = (TimeUsedDateExcel) 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$running = getRunning();
|
Object other$running = other.getRunning();
|
if (this$running == null) {
|
if (other$running != null) {
|
return false;
|
}
|
} else if (!this$running.equals(other$running)) {
|
return false;
|
}
|
Object this$standby = getStandby();
|
Object other$standby = other.getStandby();
|
if (this$standby == null) {
|
if (other$standby != null) {
|
return false;
|
}
|
} else if (!this$standby.equals(other$standby)) {
|
return false;
|
}
|
Object this$debugging = getDebugging();
|
Object other$debugging = other.getDebugging();
|
if (this$debugging == null) {
|
if (other$debugging != null) {
|
return false;
|
}
|
} else if (!this$debugging.equals(other$debugging)) {
|
return false;
|
}
|
Object this$alarm = getAlarm();
|
Object other$alarm = other.getAlarm();
|
if (this$alarm == null) {
|
if (other$alarm != null) {
|
return false;
|
}
|
} else if (!this$alarm.equals(other$alarm)) {
|
return false;
|
}
|
Object this$offline = getOffline();
|
Object other$offline = other.getOffline();
|
return this$offline == null ? other$offline == null : this$offline.equals(other$offline);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof TimeUsedDateExcel;
|
}
|
|
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 $running = getRunning();
|
int result5 = (result4 * 59) + ($running == null ? 43 : $running.hashCode());
|
Object $standby = getStandby();
|
int result6 = (result5 * 59) + ($standby == null ? 43 : $standby.hashCode());
|
Object $debugging = getDebugging();
|
int result7 = (result6 * 59) + ($debugging == null ? 43 : $debugging.hashCode());
|
Object $alarm = getAlarm();
|
int result8 = (result7 * 59) + ($alarm == null ? 43 : $alarm.hashCode());
|
Object $offline = getOffline();
|
return (result8 * 59) + ($offline == null ? 43 : $offline.hashCode());
|
}
|
|
public String toString() {
|
return "TimeUsedDateExcel(date=" + getDate() + ", groupName=" + getGroupName() + ", workstationCode=" + getWorkstationCode() + ", workstationName=" + getWorkstationName() + ", running=" + getRunning() + ", standby=" + getStandby() + ", debugging=" + getDebugging() + ", alarm=" + getAlarm() + ", offline=" + getOffline() + ")";
|
}
|
|
public static TimeUsedDateExcelBuilder builder() {
|
return new TimeUsedDateExcelBuilder();
|
}
|
|
public TimeUsedDateExcel() {
|
}
|
|
public TimeUsedDateExcel(final String date, final String groupName, final String workstationCode, final String workstationName, final String running, final String standby, final String debugging, final String alarm, final String offline) {
|
this.date = date;
|
this.groupName = groupName;
|
this.workstationCode = workstationCode;
|
this.workstationName = workstationName;
|
this.running = running;
|
this.standby = standby;
|
this.debugging = debugging;
|
this.alarm = alarm;
|
this.offline = offline;
|
}
|
|
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 getRunning() {
|
return this.running;
|
}
|
|
public String getStandby() {
|
return this.standby;
|
}
|
|
public String getDebugging() {
|
return this.debugging;
|
}
|
|
public String getAlarm() {
|
return this.alarm;
|
}
|
|
public String getOffline() {
|
return this.offline;
|
}
|
}
|