package com.qianwen.smartman.modules.tpm.vo;
|
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import java.time.LocalDateTime;
|
import java.util.List;
|
|
@ApiModel(description = "保养计划")
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/tpm/vo/MaintainRecordVO.class */
|
public class MaintainRecordVO {
|
@JsonSerialize(using = ToStringSerializer.class)
|
@ApiModelProperty("保养记录ID")
|
private Long id;
|
@JsonSerialize(using = ToStringSerializer.class)
|
@ApiModelProperty("保养计划Id")
|
private Long planId;
|
@ApiModelProperty("保养计划编码")
|
private String planCode;
|
@ApiModelProperty("保养记录单号")
|
private String recordCode;
|
@ApiModelProperty("开始时间")
|
private LocalDateTime startTime;
|
@ApiModelProperty("结束时间")
|
private LocalDateTime endTime;
|
@ApiModelProperty("是否延期(0:未延期;1:已延期)")
|
private Integer isDelay;
|
@ApiModelProperty("是否延期(0:未延期;1:已延期)")
|
private String isDelayName;
|
@ApiModelProperty("延期天数")
|
private Integer delayDays;
|
@ApiModelProperty("保养负责人Id")
|
private Long maintainUserId;
|
@ApiModelProperty("保养负责人名称")
|
private String maintainUserName;
|
@ApiModelProperty("延期原因")
|
private String delayReason;
|
@ApiModelProperty("保养记录状态(1:待确认;2:已确认)")
|
private Integer recordStatus;
|
@ApiModelProperty("保养记录状态(1:待确认;2:已确认)")
|
private String recordStatusName;
|
@ApiModelProperty("设备Id")
|
private Long deviceId;
|
@ApiModelProperty("设备编码")
|
private String deviceCode;
|
@ApiModelProperty("设备名称")
|
private String deviceName;
|
@ApiModelProperty("设备类型Id")
|
private Long deviceTypeId;
|
@ApiModelProperty("设备类型名称")
|
private String deviceTypeName;
|
@ApiModelProperty("保养项目Id")
|
private Long projectId;
|
@ApiModelProperty("保养项目名称")
|
private String projectName;
|
@ApiModelProperty("备注")
|
private String remark;
|
@ApiModelProperty("保养性质")
|
private Integer maintainNature;
|
@ApiModelProperty("保养性质")
|
private String maintainNatureName;
|
@ApiModelProperty("保养记录保养项")
|
private List<MaintainRecordItemVO> maintainRecordItemVOList;
|
@ApiModelProperty("保养记录备品备件")
|
private List<RepairRecordMaterialVO> repairRecordMaterialVOList;
|
|
public void setId(final Long id) {
|
this.id = id;
|
}
|
|
public void setPlanId(final Long planId) {
|
this.planId = planId;
|
}
|
|
public void setPlanCode(final String planCode) {
|
this.planCode = planCode;
|
}
|
|
public void setRecordCode(final String recordCode) {
|
this.recordCode = recordCode;
|
}
|
|
public void setStartTime(final LocalDateTime startTime) {
|
this.startTime = startTime;
|
}
|
|
public void setEndTime(final LocalDateTime endTime) {
|
this.endTime = endTime;
|
}
|
|
public void setIsDelay(final Integer isDelay) {
|
this.isDelay = isDelay;
|
}
|
|
public void setIsDelayName(final String isDelayName) {
|
this.isDelayName = isDelayName;
|
}
|
|
public void setDelayDays(final Integer delayDays) {
|
this.delayDays = delayDays;
|
}
|
|
public void setMaintainUserId(final Long maintainUserId) {
|
this.maintainUserId = maintainUserId;
|
}
|
|
public void setMaintainUserName(final String maintainUserName) {
|
this.maintainUserName = maintainUserName;
|
}
|
|
public void setDelayReason(final String delayReason) {
|
this.delayReason = delayReason;
|
}
|
|
public void setRecordStatus(final Integer recordStatus) {
|
this.recordStatus = recordStatus;
|
}
|
|
public void setRecordStatusName(final String recordStatusName) {
|
this.recordStatusName = recordStatusName;
|
}
|
|
public void setDeviceId(final Long deviceId) {
|
this.deviceId = deviceId;
|
}
|
|
public void setDeviceCode(final String deviceCode) {
|
this.deviceCode = deviceCode;
|
}
|
|
public void setDeviceName(final String deviceName) {
|
this.deviceName = deviceName;
|
}
|
|
public void setDeviceTypeId(final Long deviceTypeId) {
|
this.deviceTypeId = deviceTypeId;
|
}
|
|
public void setDeviceTypeName(final String deviceTypeName) {
|
this.deviceTypeName = deviceTypeName;
|
}
|
|
public void setProjectId(final Long projectId) {
|
this.projectId = projectId;
|
}
|
|
public void setProjectName(final String projectName) {
|
this.projectName = projectName;
|
}
|
|
public void setRemark(final String remark) {
|
this.remark = remark;
|
}
|
|
public void setMaintainNature(final Integer maintainNature) {
|
this.maintainNature = maintainNature;
|
}
|
|
public void setMaintainNatureName(final String maintainNatureName) {
|
this.maintainNatureName = maintainNatureName;
|
}
|
|
public void setMaintainRecordItemVOList(final List<MaintainRecordItemVO> maintainRecordItemVOList) {
|
this.maintainRecordItemVOList = maintainRecordItemVOList;
|
}
|
|
public void setRepairRecordMaterialVOList(final List<RepairRecordMaterialVO> repairRecordMaterialVOList) {
|
this.repairRecordMaterialVOList = repairRecordMaterialVOList;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof MaintainRecordVO) {
|
MaintainRecordVO other = (MaintainRecordVO) o;
|
if (other.canEqual(this)) {
|
Object this$id = getId();
|
Object other$id = other.getId();
|
if (this$id == null) {
|
if (other$id != null) {
|
return false;
|
}
|
} else if (!this$id.equals(other$id)) {
|
return false;
|
}
|
Object this$planId = getPlanId();
|
Object other$planId = other.getPlanId();
|
if (this$planId == null) {
|
if (other$planId != null) {
|
return false;
|
}
|
} else if (!this$planId.equals(other$planId)) {
|
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$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$maintainUserId = getMaintainUserId();
|
Object other$maintainUserId = other.getMaintainUserId();
|
if (this$maintainUserId == null) {
|
if (other$maintainUserId != null) {
|
return false;
|
}
|
} else if (!this$maintainUserId.equals(other$maintainUserId)) {
|
return false;
|
}
|
Object this$recordStatus = getRecordStatus();
|
Object other$recordStatus = other.getRecordStatus();
|
if (this$recordStatus == null) {
|
if (other$recordStatus != null) {
|
return false;
|
}
|
} else if (!this$recordStatus.equals(other$recordStatus)) {
|
return false;
|
}
|
Object this$deviceId = getDeviceId();
|
Object other$deviceId = other.getDeviceId();
|
if (this$deviceId == null) {
|
if (other$deviceId != null) {
|
return false;
|
}
|
} else if (!this$deviceId.equals(other$deviceId)) {
|
return false;
|
}
|
Object this$deviceTypeId = getDeviceTypeId();
|
Object other$deviceTypeId = other.getDeviceTypeId();
|
if (this$deviceTypeId == null) {
|
if (other$deviceTypeId != null) {
|
return false;
|
}
|
} else if (!this$deviceTypeId.equals(other$deviceTypeId)) {
|
return false;
|
}
|
Object this$projectId = getProjectId();
|
Object other$projectId = other.getProjectId();
|
if (this$projectId == null) {
|
if (other$projectId != null) {
|
return false;
|
}
|
} else if (!this$projectId.equals(other$projectId)) {
|
return false;
|
}
|
Object this$maintainNature = getMaintainNature();
|
Object other$maintainNature = other.getMaintainNature();
|
if (this$maintainNature == null) {
|
if (other$maintainNature != null) {
|
return false;
|
}
|
} else if (!this$maintainNature.equals(other$maintainNature)) {
|
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$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$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$isDelayName = getIsDelayName();
|
Object other$isDelayName = other.getIsDelayName();
|
if (this$isDelayName == null) {
|
if (other$isDelayName != null) {
|
return false;
|
}
|
} else if (!this$isDelayName.equals(other$isDelayName)) {
|
return false;
|
}
|
Object this$maintainUserName = getMaintainUserName();
|
Object other$maintainUserName = other.getMaintainUserName();
|
if (this$maintainUserName == null) {
|
if (other$maintainUserName != null) {
|
return false;
|
}
|
} else if (!this$maintainUserName.equals(other$maintainUserName)) {
|
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$recordStatusName = getRecordStatusName();
|
Object other$recordStatusName = other.getRecordStatusName();
|
if (this$recordStatusName == null) {
|
if (other$recordStatusName != null) {
|
return false;
|
}
|
} else if (!this$recordStatusName.equals(other$recordStatusName)) {
|
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$remark = getRemark();
|
Object other$remark = other.getRemark();
|
if (this$remark == null) {
|
if (other$remark != null) {
|
return false;
|
}
|
} else if (!this$remark.equals(other$remark)) {
|
return false;
|
}
|
Object this$maintainNatureName = getMaintainNatureName();
|
Object other$maintainNatureName = other.getMaintainNatureName();
|
if (this$maintainNatureName == null) {
|
if (other$maintainNatureName != null) {
|
return false;
|
}
|
} else if (!this$maintainNatureName.equals(other$maintainNatureName)) {
|
return false;
|
}
|
Object this$maintainRecordItemVOList = getMaintainRecordItemVOList();
|
Object other$maintainRecordItemVOList = other.getMaintainRecordItemVOList();
|
if (this$maintainRecordItemVOList == null) {
|
if (other$maintainRecordItemVOList != null) {
|
return false;
|
}
|
} else if (!this$maintainRecordItemVOList.equals(other$maintainRecordItemVOList)) {
|
return false;
|
}
|
Object this$repairRecordMaterialVOList = getRepairRecordMaterialVOList();
|
Object other$repairRecordMaterialVOList = other.getRepairRecordMaterialVOList();
|
return this$repairRecordMaterialVOList == null ? other$repairRecordMaterialVOList == null : this$repairRecordMaterialVOList.equals(other$repairRecordMaterialVOList);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof MaintainRecordVO;
|
}
|
|
public int hashCode() {
|
Object $id = getId();
|
int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
|
Object $planId = getPlanId();
|
int result2 = (result * 59) + ($planId == null ? 43 : $planId.hashCode());
|
Object $isDelay = getIsDelay();
|
int result3 = (result2 * 59) + ($isDelay == null ? 43 : $isDelay.hashCode());
|
Object $delayDays = getDelayDays();
|
int result4 = (result3 * 59) + ($delayDays == null ? 43 : $delayDays.hashCode());
|
Object $maintainUserId = getMaintainUserId();
|
int result5 = (result4 * 59) + ($maintainUserId == null ? 43 : $maintainUserId.hashCode());
|
Object $recordStatus = getRecordStatus();
|
int result6 = (result5 * 59) + ($recordStatus == null ? 43 : $recordStatus.hashCode());
|
Object $deviceId = getDeviceId();
|
int result7 = (result6 * 59) + ($deviceId == null ? 43 : $deviceId.hashCode());
|
Object $deviceTypeId = getDeviceTypeId();
|
int result8 = (result7 * 59) + ($deviceTypeId == null ? 43 : $deviceTypeId.hashCode());
|
Object $projectId = getProjectId();
|
int result9 = (result8 * 59) + ($projectId == null ? 43 : $projectId.hashCode());
|
Object $maintainNature = getMaintainNature();
|
int result10 = (result9 * 59) + ($maintainNature == null ? 43 : $maintainNature.hashCode());
|
Object $planCode = getPlanCode();
|
int result11 = (result10 * 59) + ($planCode == null ? 43 : $planCode.hashCode());
|
Object $recordCode = getRecordCode();
|
int result12 = (result11 * 59) + ($recordCode == null ? 43 : $recordCode.hashCode());
|
Object $startTime = getStartTime();
|
int result13 = (result12 * 59) + ($startTime == null ? 43 : $startTime.hashCode());
|
Object $endTime = getEndTime();
|
int result14 = (result13 * 59) + ($endTime == null ? 43 : $endTime.hashCode());
|
Object $isDelayName = getIsDelayName();
|
int result15 = (result14 * 59) + ($isDelayName == null ? 43 : $isDelayName.hashCode());
|
Object $maintainUserName = getMaintainUserName();
|
int result16 = (result15 * 59) + ($maintainUserName == null ? 43 : $maintainUserName.hashCode());
|
Object $delayReason = getDelayReason();
|
int result17 = (result16 * 59) + ($delayReason == null ? 43 : $delayReason.hashCode());
|
Object $recordStatusName = getRecordStatusName();
|
int result18 = (result17 * 59) + ($recordStatusName == null ? 43 : $recordStatusName.hashCode());
|
Object $deviceCode = getDeviceCode();
|
int result19 = (result18 * 59) + ($deviceCode == null ? 43 : $deviceCode.hashCode());
|
Object $deviceName = getDeviceName();
|
int result20 = (result19 * 59) + ($deviceName == null ? 43 : $deviceName.hashCode());
|
Object $deviceTypeName = getDeviceTypeName();
|
int result21 = (result20 * 59) + ($deviceTypeName == null ? 43 : $deviceTypeName.hashCode());
|
Object $projectName = getProjectName();
|
int result22 = (result21 * 59) + ($projectName == null ? 43 : $projectName.hashCode());
|
Object $remark = getRemark();
|
int result23 = (result22 * 59) + ($remark == null ? 43 : $remark.hashCode());
|
Object $maintainNatureName = getMaintainNatureName();
|
int result24 = (result23 * 59) + ($maintainNatureName == null ? 43 : $maintainNatureName.hashCode());
|
Object $maintainRecordItemVOList = getMaintainRecordItemVOList();
|
int result25 = (result24 * 59) + ($maintainRecordItemVOList == null ? 43 : $maintainRecordItemVOList.hashCode());
|
Object $repairRecordMaterialVOList = getRepairRecordMaterialVOList();
|
return (result25 * 59) + ($repairRecordMaterialVOList == null ? 43 : $repairRecordMaterialVOList.hashCode());
|
}
|
|
public String toString() {
|
return "MaintainRecordVO(id=" + getId() + ", planId=" + getPlanId() + ", planCode=" + getPlanCode() + ", recordCode=" + getRecordCode() + ", startTime=" + getStartTime() + ", endTime=" + getEndTime() + ", isDelay=" + getIsDelay() + ", isDelayName=" + getIsDelayName() + ", delayDays=" + getDelayDays() + ", maintainUserId=" + getMaintainUserId() + ", maintainUserName=" + getMaintainUserName() + ", delayReason=" + getDelayReason() + ", recordStatus=" + getRecordStatus() + ", recordStatusName=" + getRecordStatusName() + ", deviceId=" + getDeviceId() + ", deviceCode=" + getDeviceCode() + ", deviceName=" + getDeviceName() + ", deviceTypeId=" + getDeviceTypeId() + ", deviceTypeName=" + getDeviceTypeName() + ", projectId=" + getProjectId() + ", projectName=" + getProjectName() + ", remark=" + getRemark() + ", maintainNature=" + getMaintainNature() + ", maintainNatureName=" + getMaintainNatureName() + ", maintainRecordItemVOList=" + getMaintainRecordItemVOList() + ", repairRecordMaterialVOList=" + getRepairRecordMaterialVOList() + ")";
|
}
|
|
public Long getId() {
|
return this.id;
|
}
|
|
public Long getPlanId() {
|
return this.planId;
|
}
|
|
public String getPlanCode() {
|
return this.planCode;
|
}
|
|
public String getRecordCode() {
|
return this.recordCode;
|
}
|
|
public LocalDateTime getStartTime() {
|
return this.startTime;
|
}
|
|
public LocalDateTime getEndTime() {
|
return this.endTime;
|
}
|
|
public Integer getIsDelay() {
|
return this.isDelay;
|
}
|
|
public String getIsDelayName() {
|
return this.isDelayName;
|
}
|
|
public Integer getDelayDays() {
|
return this.delayDays;
|
}
|
|
public Long getMaintainUserId() {
|
return this.maintainUserId;
|
}
|
|
public String getMaintainUserName() {
|
return this.maintainUserName;
|
}
|
|
public String getDelayReason() {
|
return this.delayReason;
|
}
|
|
public Integer getRecordStatus() {
|
return this.recordStatus;
|
}
|
|
public String getRecordStatusName() {
|
return this.recordStatusName;
|
}
|
|
public Long getDeviceId() {
|
return this.deviceId;
|
}
|
|
public String getDeviceCode() {
|
return this.deviceCode;
|
}
|
|
public String getDeviceName() {
|
return this.deviceName;
|
}
|
|
public Long getDeviceTypeId() {
|
return this.deviceTypeId;
|
}
|
|
public String getDeviceTypeName() {
|
return this.deviceTypeName;
|
}
|
|
public Long getProjectId() {
|
return this.projectId;
|
}
|
|
public String getProjectName() {
|
return this.projectName;
|
}
|
|
public String getRemark() {
|
return this.remark;
|
}
|
|
public Integer getMaintainNature() {
|
return this.maintainNature;
|
}
|
|
public String getMaintainNatureName() {
|
return this.maintainNatureName;
|
}
|
|
public List<MaintainRecordItemVO> getMaintainRecordItemVOList() {
|
return this.maintainRecordItemVOList;
|
}
|
|
public List<RepairRecordMaterialVO> getRepairRecordMaterialVOList() {
|
return this.repairRecordMaterialVOList;
|
}
|
}
|