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