package com.qianwen.smartman.modules.tpm.vo;
|
|
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateTimeDeserializer;
|
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import java.time.LocalDateTime;
|
|
@ApiModel(description = "保养计划超期")
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/tpm/vo/MaintainPlanExpireVO.class */
|
public class MaintainPlanExpireVO {
|
@JsonSerialize(using = ToStringSerializer.class)
|
@ApiModelProperty("保养计划Id(主键)")
|
private Long id;
|
@ApiModelProperty("计划任务编码")
|
private String code;
|
@JsonSerialize(using = ToStringSerializer.class)
|
@ApiModelProperty("机器Id")
|
private Long deviceId;
|
@ApiModelProperty("机器编码")
|
private String deviceCode;
|
@ApiModelProperty("机器名称")
|
private String deviceName;
|
@JsonSerialize(using = ToStringSerializer.class)
|
@ApiModelProperty("机器类型Id")
|
private Long deviceTypeId;
|
@ApiModelProperty("机器类型名称")
|
private String deviceTypeName;
|
@JsonSerialize(using = ToStringSerializer.class)
|
@ApiModelProperty("保养项目Id")
|
private Long projectId;
|
@ApiModelProperty("保养项目名称")
|
private String projectName;
|
@ApiModelProperty("保养项目编码")
|
private String projectCode;
|
@JsonDeserialize(using = LocalDateTimeDeserializer.class)
|
@JsonSerialize(using = LocalDateTimeSerializer.class)
|
@ApiModelProperty("保养日期")
|
private LocalDateTime maintainDate;
|
@ApiModelProperty("保养预警提示")
|
private Integer preWarningDays;
|
@ApiModelProperty("计划状态")
|
private Integer planStatus;
|
@ApiModelProperty("计划状态名称")
|
private String planStatusName;
|
@ApiModelProperty("是否自动生成计划")
|
private Integer isAuto;
|
@ApiModelProperty("周期(天)")
|
private Integer intervalTime;
|
@JsonDeserialize(using = LocalDateTimeDeserializer.class)
|
@JsonSerialize(using = LocalDateTimeSerializer.class)
|
@ApiModelProperty("上一次保养时间")
|
private LocalDateTime preMaintainTime;
|
@ApiModelProperty("备注")
|
private String remark;
|
@ApiModelProperty("保养性质")
|
private Integer maintainNature;
|
@ApiModelProperty("保养性质")
|
private String maintainNatureName;
|
|
public void setId(final Long id) {
|
this.id = id;
|
}
|
|
public void setCode(final String code) {
|
this.code = code;
|
}
|
|
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 setProjectCode(final String projectCode) {
|
this.projectCode = projectCode;
|
}
|
|
@JsonDeserialize(using = LocalDateTimeDeserializer.class)
|
public void setMaintainDate(final LocalDateTime maintainDate) {
|
this.maintainDate = maintainDate;
|
}
|
|
public void setPreWarningDays(final Integer preWarningDays) {
|
this.preWarningDays = preWarningDays;
|
}
|
|
public void setPlanStatus(final Integer planStatus) {
|
this.planStatus = planStatus;
|
}
|
|
public void setPlanStatusName(final String planStatusName) {
|
this.planStatusName = planStatusName;
|
}
|
|
public void setIsAuto(final Integer isAuto) {
|
this.isAuto = isAuto;
|
}
|
|
public void setIntervalTime(final Integer intervalTime) {
|
this.intervalTime = intervalTime;
|
}
|
|
@JsonDeserialize(using = LocalDateTimeDeserializer.class)
|
public void setPreMaintainTime(final LocalDateTime preMaintainTime) {
|
this.preMaintainTime = preMaintainTime;
|
}
|
|
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 boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof MaintainPlanExpireVO) {
|
MaintainPlanExpireVO other = (MaintainPlanExpireVO) 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$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$preWarningDays = getPreWarningDays();
|
Object other$preWarningDays = other.getPreWarningDays();
|
if (this$preWarningDays == null) {
|
if (other$preWarningDays != null) {
|
return false;
|
}
|
} else if (!this$preWarningDays.equals(other$preWarningDays)) {
|
return false;
|
}
|
Object this$planStatus = getPlanStatus();
|
Object other$planStatus = other.getPlanStatus();
|
if (this$planStatus == null) {
|
if (other$planStatus != null) {
|
return false;
|
}
|
} else if (!this$planStatus.equals(other$planStatus)) {
|
return false;
|
}
|
Object this$isAuto = getIsAuto();
|
Object other$isAuto = other.getIsAuto();
|
if (this$isAuto == null) {
|
if (other$isAuto != null) {
|
return false;
|
}
|
} else if (!this$isAuto.equals(other$isAuto)) {
|
return false;
|
}
|
Object this$intervalTime = getIntervalTime();
|
Object other$intervalTime = other.getIntervalTime();
|
if (this$intervalTime == null) {
|
if (other$intervalTime != null) {
|
return false;
|
}
|
} else if (!this$intervalTime.equals(other$intervalTime)) {
|
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$code = getCode();
|
Object other$code = other.getCode();
|
if (this$code == null) {
|
if (other$code != null) {
|
return false;
|
}
|
} else if (!this$code.equals(other$code)) {
|
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$projectCode = getProjectCode();
|
Object other$projectCode = other.getProjectCode();
|
if (this$projectCode == null) {
|
if (other$projectCode != null) {
|
return false;
|
}
|
} else if (!this$projectCode.equals(other$projectCode)) {
|
return false;
|
}
|
Object this$maintainDate = getMaintainDate();
|
Object other$maintainDate = other.getMaintainDate();
|
if (this$maintainDate == null) {
|
if (other$maintainDate != null) {
|
return false;
|
}
|
} else if (!this$maintainDate.equals(other$maintainDate)) {
|
return false;
|
}
|
Object this$planStatusName = getPlanStatusName();
|
Object other$planStatusName = other.getPlanStatusName();
|
if (this$planStatusName == null) {
|
if (other$planStatusName != null) {
|
return false;
|
}
|
} else if (!this$planStatusName.equals(other$planStatusName)) {
|
return false;
|
}
|
Object this$preMaintainTime = getPreMaintainTime();
|
Object other$preMaintainTime = other.getPreMaintainTime();
|
if (this$preMaintainTime == null) {
|
if (other$preMaintainTime != null) {
|
return false;
|
}
|
} else if (!this$preMaintainTime.equals(other$preMaintainTime)) {
|
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();
|
return this$maintainNatureName == null ? other$maintainNatureName == null : this$maintainNatureName.equals(other$maintainNatureName);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof MaintainPlanExpireVO;
|
}
|
|
public int hashCode() {
|
Object $id = getId();
|
int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
|
Object $deviceId = getDeviceId();
|
int result2 = (result * 59) + ($deviceId == null ? 43 : $deviceId.hashCode());
|
Object $deviceTypeId = getDeviceTypeId();
|
int result3 = (result2 * 59) + ($deviceTypeId == null ? 43 : $deviceTypeId.hashCode());
|
Object $projectId = getProjectId();
|
int result4 = (result3 * 59) + ($projectId == null ? 43 : $projectId.hashCode());
|
Object $preWarningDays = getPreWarningDays();
|
int result5 = (result4 * 59) + ($preWarningDays == null ? 43 : $preWarningDays.hashCode());
|
Object $planStatus = getPlanStatus();
|
int result6 = (result5 * 59) + ($planStatus == null ? 43 : $planStatus.hashCode());
|
Object $isAuto = getIsAuto();
|
int result7 = (result6 * 59) + ($isAuto == null ? 43 : $isAuto.hashCode());
|
Object $intervalTime = getIntervalTime();
|
int result8 = (result7 * 59) + ($intervalTime == null ? 43 : $intervalTime.hashCode());
|
Object $maintainNature = getMaintainNature();
|
int result9 = (result8 * 59) + ($maintainNature == null ? 43 : $maintainNature.hashCode());
|
Object $code = getCode();
|
int result10 = (result9 * 59) + ($code == null ? 43 : $code.hashCode());
|
Object $deviceCode = getDeviceCode();
|
int result11 = (result10 * 59) + ($deviceCode == null ? 43 : $deviceCode.hashCode());
|
Object $deviceName = getDeviceName();
|
int result12 = (result11 * 59) + ($deviceName == null ? 43 : $deviceName.hashCode());
|
Object $deviceTypeName = getDeviceTypeName();
|
int result13 = (result12 * 59) + ($deviceTypeName == null ? 43 : $deviceTypeName.hashCode());
|
Object $projectName = getProjectName();
|
int result14 = (result13 * 59) + ($projectName == null ? 43 : $projectName.hashCode());
|
Object $projectCode = getProjectCode();
|
int result15 = (result14 * 59) + ($projectCode == null ? 43 : $projectCode.hashCode());
|
Object $maintainDate = getMaintainDate();
|
int result16 = (result15 * 59) + ($maintainDate == null ? 43 : $maintainDate.hashCode());
|
Object $planStatusName = getPlanStatusName();
|
int result17 = (result16 * 59) + ($planStatusName == null ? 43 : $planStatusName.hashCode());
|
Object $preMaintainTime = getPreMaintainTime();
|
int result18 = (result17 * 59) + ($preMaintainTime == null ? 43 : $preMaintainTime.hashCode());
|
Object $remark = getRemark();
|
int result19 = (result18 * 59) + ($remark == null ? 43 : $remark.hashCode());
|
Object $maintainNatureName = getMaintainNatureName();
|
return (result19 * 59) + ($maintainNatureName == null ? 43 : $maintainNatureName.hashCode());
|
}
|
|
public String toString() {
|
return "MaintainPlanExpireVO(id=" + getId() + ", code=" + getCode() + ", deviceId=" + getDeviceId() + ", deviceCode=" + getDeviceCode() + ", deviceName=" + getDeviceName() + ", deviceTypeId=" + getDeviceTypeId() + ", deviceTypeName=" + getDeviceTypeName() + ", projectId=" + getProjectId() + ", projectName=" + getProjectName() + ", projectCode=" + getProjectCode() + ", maintainDate=" + getMaintainDate() + ", preWarningDays=" + getPreWarningDays() + ", planStatus=" + getPlanStatus() + ", planStatusName=" + getPlanStatusName() + ", isAuto=" + getIsAuto() + ", intervalTime=" + getIntervalTime() + ", preMaintainTime=" + getPreMaintainTime() + ", remark=" + getRemark() + ", maintainNature=" + getMaintainNature() + ", maintainNatureName=" + getMaintainNatureName() + ")";
|
}
|
|
public Long getId() {
|
return this.id;
|
}
|
|
public String getCode() {
|
return this.code;
|
}
|
|
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 getProjectCode() {
|
return this.projectCode;
|
}
|
|
public LocalDateTime getMaintainDate() {
|
return this.maintainDate;
|
}
|
|
public Integer getPreWarningDays() {
|
return this.preWarningDays;
|
}
|
|
public Integer getPlanStatus() {
|
return this.planStatus;
|
}
|
|
public String getPlanStatusName() {
|
return this.planStatusName;
|
}
|
|
public Integer getIsAuto() {
|
return this.isAuto;
|
}
|
|
public Integer getIntervalTime() {
|
return this.intervalTime;
|
}
|
|
public LocalDateTime getPreMaintainTime() {
|
return this.preMaintainTime;
|
}
|
|
public String getRemark() {
|
return this.remark;
|
}
|
|
public Integer getMaintainNature() {
|
return this.maintainNature;
|
}
|
|
public String getMaintainNatureName() {
|
return this.maintainNatureName;
|
}
|
}
|