package com.qianwen.smartman.modules.tpm.vo.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 io.swagger.annotations.ApiModelProperty; import java.io.Serializable; @HeadRowHeight(20) @ColumnWidth(25) @ContentRowHeight(18) public class MaintainRecordExcel implements Serializable { @ExcelProperty({"任务单号"}) @ApiModelProperty("任务单号") private String recordCode; @ExcelProperty({"计划单号"}) @ApiModelProperty("计划单号") private String planCode; @ExcelProperty({"机器编码"}) @ApiModelProperty("机器编码") private String deviceCode; @ExcelProperty({"机器名称"}) @ApiModelProperty("机器名称") private String deviceName; @ExcelProperty({"机器类型"}) @ApiModelProperty("机器类型") private String deviceTypeName; @ExcelProperty({"保养项目"}) @ApiModelProperty("保养项目") private String projectName; @ExcelProperty({"保养开始时间"}) @ApiModelProperty("保养开始时间") private String startTime; @ExcelProperty({"保养完成时间"}) @ApiModelProperty("保养完成时间") private String endTime; @ExcelProperty({"是否延期"}) @ApiModelProperty("是否延期") private String isDelay; @ExcelProperty({"延期天数"}) @ApiModelProperty("延期天数") private Integer delayDays; @ExcelProperty({"延期原因"}) @ApiModelProperty("延期原因") private String delayReason; @ExcelProperty({"保养负责人名称"}) @ApiModelProperty("保养负责人名称") private String maintainUserName; public void setRecordCode(final String recordCode) { this.recordCode = recordCode; } public void setPlanCode(final String planCode) { this.planCode = planCode; } public void setDeviceCode(final String deviceCode) { this.deviceCode = deviceCode; } public void setDeviceName(final String deviceName) { this.deviceName = deviceName; } public void setDeviceTypeName(final String deviceTypeName) { this.deviceTypeName = deviceTypeName; } public void setProjectName(final String projectName) { this.projectName = projectName; } public void setStartTime(final String startTime) { this.startTime = startTime; } public void setEndTime(final String endTime) { this.endTime = endTime; } public void setIsDelay(final String isDelay) { this.isDelay = isDelay; } public void setDelayDays(final Integer delayDays) { this.delayDays = delayDays; } public void setDelayReason(final String delayReason) { this.delayReason = delayReason; } public void setMaintainUserName(final String maintainUserName) { this.maintainUserName = maintainUserName; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof MaintainRecordExcel) { MaintainRecordExcel other = (MaintainRecordExcel) o; if (other.canEqual(this)) { Object this$delayDays = getDelayDays(); Object other$delayDays = other.getDelayDays(); if (this$delayDays == null) { if (other$delayDays != null) { return false; } } else if (!this$delayDays.equals(other$delayDays)) { return false; } Object this$recordCode = getRecordCode(); Object other$recordCode = other.getRecordCode(); if (this$recordCode == null) { if (other$recordCode != null) { return false; } } else if (!this$recordCode.equals(other$recordCode)) { return false; } Object this$planCode = getPlanCode(); Object other$planCode = other.getPlanCode(); if (this$planCode == null) { if (other$planCode != null) { return false; } } else if (!this$planCode.equals(other$planCode)) { return false; } Object this$deviceCode = getDeviceCode(); Object other$deviceCode = other.getDeviceCode(); if (this$deviceCode == null) { if (other$deviceCode != null) { return false; } } else if (!this$deviceCode.equals(other$deviceCode)) { return false; } Object this$deviceName = getDeviceName(); Object other$deviceName = other.getDeviceName(); if (this$deviceName == null) { if (other$deviceName != null) { return false; } } else if (!this$deviceName.equals(other$deviceName)) { return false; } Object this$deviceTypeName = getDeviceTypeName(); Object other$deviceTypeName = other.getDeviceTypeName(); if (this$deviceTypeName == null) { if (other$deviceTypeName != null) { return false; } } else if (!this$deviceTypeName.equals(other$deviceTypeName)) { return false; } Object this$projectName = getProjectName(); Object other$projectName = other.getProjectName(); if (this$projectName == null) { if (other$projectName != null) { return false; } } else if (!this$projectName.equals(other$projectName)) { 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$isDelay = getIsDelay(); Object other$isDelay = other.getIsDelay(); if (this$isDelay == null) { if (other$isDelay != null) { return false; } } else if (!this$isDelay.equals(other$isDelay)) { return false; } Object this$delayReason = getDelayReason(); Object other$delayReason = other.getDelayReason(); if (this$delayReason == null) { if (other$delayReason != null) { return false; } } else if (!this$delayReason.equals(other$delayReason)) { return false; } Object this$maintainUserName = getMaintainUserName(); Object other$maintainUserName = other.getMaintainUserName(); return this$maintainUserName == null ? other$maintainUserName == null : this$maintainUserName.equals(other$maintainUserName); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof MaintainRecordExcel; } public int hashCode() { Object $delayDays = getDelayDays(); int result = (1 * 59) + ($delayDays == null ? 43 : $delayDays.hashCode()); Object $recordCode = getRecordCode(); int result2 = (result * 59) + ($recordCode == null ? 43 : $recordCode.hashCode()); Object $planCode = getPlanCode(); int result3 = (result2 * 59) + ($planCode == null ? 43 : $planCode.hashCode()); Object $deviceCode = getDeviceCode(); int result4 = (result3 * 59) + ($deviceCode == null ? 43 : $deviceCode.hashCode()); Object $deviceName = getDeviceName(); int result5 = (result4 * 59) + ($deviceName == null ? 43 : $deviceName.hashCode()); Object $deviceTypeName = getDeviceTypeName(); int result6 = (result5 * 59) + ($deviceTypeName == null ? 43 : $deviceTypeName.hashCode()); Object $projectName = getProjectName(); int result7 = (result6 * 59) + ($projectName == null ? 43 : $projectName.hashCode()); Object $startTime = getStartTime(); int result8 = (result7 * 59) + ($startTime == null ? 43 : $startTime.hashCode()); Object $endTime = getEndTime(); int result9 = (result8 * 59) + ($endTime == null ? 43 : $endTime.hashCode()); Object $isDelay = getIsDelay(); int result10 = (result9 * 59) + ($isDelay == null ? 43 : $isDelay.hashCode()); Object $delayReason = getDelayReason(); int result11 = (result10 * 59) + ($delayReason == null ? 43 : $delayReason.hashCode()); Object $maintainUserName = getMaintainUserName(); return (result11 * 59) + ($maintainUserName == null ? 43 : $maintainUserName.hashCode()); } public String toString() { return "MaintainRecordExcel(recordCode=" + getRecordCode() + ", planCode=" + getPlanCode() + ", deviceCode=" + getDeviceCode() + ", deviceName=" + getDeviceName() + ", deviceTypeName=" + getDeviceTypeName() + ", projectName=" + getProjectName() + ", startTime=" + getStartTime() + ", endTime=" + getEndTime() + ", isDelay=" + getIsDelay() + ", delayDays=" + getDelayDays() + ", delayReason=" + getDelayReason() + ", maintainUserName=" + getMaintainUserName() + ")"; } public String getRecordCode() { return this.recordCode; } public String getPlanCode() { return this.planCode; } public String getDeviceCode() { return this.deviceCode; } public String getDeviceName() { return this.deviceName; } public String getDeviceTypeName() { return this.deviceTypeName; } public String getProjectName() { return this.projectName; } public String getStartTime() { return this.startTime; } public String getEndTime() { return this.endTime; } public String getIsDelay() { return this.isDelay; } public Integer getDelayDays() { return this.delayDays; } public String getDelayReason() { return this.delayReason; } public String getMaintainUserName() { return this.maintainUserName; } }