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.util.Date;
|
|
@HeadRowHeight(20)
|
@ColumnWidth(25)
|
@ContentRowHeight(18)
|
|
public class RepairApplyExcelVO {
|
@ColumnWidth(15)
|
@ExcelProperty({"申请单号"})
|
@ApiModelProperty("申请单号")
|
private String applyCode;
|
@ColumnWidth(15)
|
@ExcelProperty({"紧急度"})
|
@ApiModelProperty("紧急度")
|
private String urgency;
|
@ColumnWidth(15)
|
@ExcelProperty({"设备编码"})
|
@ApiModelProperty("设备编码")
|
private String deviceCode;
|
@ColumnWidth(15)
|
@ExcelProperty({"设备名称"})
|
@ApiModelProperty("设备名称")
|
private String deviceName;
|
@ColumnWidth(15)
|
@ExcelProperty({"设备类型"})
|
@ApiModelProperty("设备类型")
|
private String deviceTypeName;
|
@ColumnWidth(15)
|
@ExcelProperty({"发生时间"})
|
@ApiModelProperty("发生时间")
|
private Date malfunctionTime;
|
@ColumnWidth(15)
|
@ExcelProperty({"申请人"})
|
@ApiModelProperty("申请人")
|
private String applyUserName;
|
@ColumnWidth(15)
|
@ExcelProperty({"故障详情"})
|
@ApiModelProperty("故障详情")
|
private String description;
|
|
public RepairApplyExcelVO setApplyCode(final String applyCode) {
|
this.applyCode = applyCode;
|
return this;
|
}
|
|
public RepairApplyExcelVO setUrgency(final String urgency) {
|
this.urgency = urgency;
|
return this;
|
}
|
|
public RepairApplyExcelVO setDeviceCode(final String deviceCode) {
|
this.deviceCode = deviceCode;
|
return this;
|
}
|
|
public RepairApplyExcelVO setDeviceName(final String deviceName) {
|
this.deviceName = deviceName;
|
return this;
|
}
|
|
public RepairApplyExcelVO setDeviceTypeName(final String deviceTypeName) {
|
this.deviceTypeName = deviceTypeName;
|
return this;
|
}
|
|
public RepairApplyExcelVO setMalfunctionTime(final Date malfunctionTime) {
|
this.malfunctionTime = malfunctionTime;
|
return this;
|
}
|
|
public RepairApplyExcelVO setApplyUserName(final String applyUserName) {
|
this.applyUserName = applyUserName;
|
return this;
|
}
|
|
public RepairApplyExcelVO setDescription(final String description) {
|
this.description = description;
|
return this;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof RepairApplyExcelVO) {
|
RepairApplyExcelVO other = (RepairApplyExcelVO) o;
|
if (other.canEqual(this)) {
|
Object this$applyCode = getApplyCode();
|
Object other$applyCode = other.getApplyCode();
|
if (this$applyCode == null) {
|
if (other$applyCode != null) {
|
return false;
|
}
|
} else if (!this$applyCode.equals(other$applyCode)) {
|
return false;
|
}
|
Object this$urgency = getUrgency();
|
Object other$urgency = other.getUrgency();
|
if (this$urgency == null) {
|
if (other$urgency != null) {
|
return false;
|
}
|
} else if (!this$urgency.equals(other$urgency)) {
|
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$malfunctionTime = getMalfunctionTime();
|
Object other$malfunctionTime = other.getMalfunctionTime();
|
if (this$malfunctionTime == null) {
|
if (other$malfunctionTime != null) {
|
return false;
|
}
|
} else if (!this$malfunctionTime.equals(other$malfunctionTime)) {
|
return false;
|
}
|
Object this$applyUserName = getApplyUserName();
|
Object other$applyUserName = other.getApplyUserName();
|
if (this$applyUserName == null) {
|
if (other$applyUserName != null) {
|
return false;
|
}
|
} else if (!this$applyUserName.equals(other$applyUserName)) {
|
return false;
|
}
|
Object this$description = getDescription();
|
Object other$description = other.getDescription();
|
return this$description == null ? other$description == null : this$description.equals(other$description);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof RepairApplyExcelVO;
|
}
|
|
public int hashCode() {
|
Object $applyCode = getApplyCode();
|
int result = (1 * 59) + ($applyCode == null ? 43 : $applyCode.hashCode());
|
Object $urgency = getUrgency();
|
int result2 = (result * 59) + ($urgency == null ? 43 : $urgency.hashCode());
|
Object $deviceCode = getDeviceCode();
|
int result3 = (result2 * 59) + ($deviceCode == null ? 43 : $deviceCode.hashCode());
|
Object $deviceName = getDeviceName();
|
int result4 = (result3 * 59) + ($deviceName == null ? 43 : $deviceName.hashCode());
|
Object $deviceTypeName = getDeviceTypeName();
|
int result5 = (result4 * 59) + ($deviceTypeName == null ? 43 : $deviceTypeName.hashCode());
|
Object $malfunctionTime = getMalfunctionTime();
|
int result6 = (result5 * 59) + ($malfunctionTime == null ? 43 : $malfunctionTime.hashCode());
|
Object $applyUserName = getApplyUserName();
|
int result7 = (result6 * 59) + ($applyUserName == null ? 43 : $applyUserName.hashCode());
|
Object $description = getDescription();
|
return (result7 * 59) + ($description == null ? 43 : $description.hashCode());
|
}
|
|
public String toString() {
|
return "RepairApplyExcelVO(applyCode=" + getApplyCode() + ", urgency=" + getUrgency() + ", deviceCode=" + getDeviceCode() + ", deviceName=" + getDeviceName() + ", deviceTypeName=" + getDeviceTypeName() + ", malfunctionTime=" + getMalfunctionTime() + ", applyUserName=" + getApplyUserName() + ", description=" + getDescription() + ")";
|
}
|
|
public String getApplyCode() {
|
return this.applyCode;
|
}
|
|
public String getUrgency() {
|
return this.urgency;
|
}
|
|
public String getDeviceCode() {
|
return this.deviceCode;
|
}
|
|
public String getDeviceName() {
|
return this.deviceName;
|
}
|
|
public String getDeviceTypeName() {
|
return this.deviceTypeName;
|
}
|
|
public Date getMalfunctionTime() {
|
return this.malfunctionTime;
|
}
|
|
public String getApplyUserName() {
|
return this.applyUserName;
|
}
|
|
public String getDescription() {
|
return this.description;
|
}
|
}
|