package com.qianwen.smartman.modules.tpm.vo;
|
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
|
@ApiModel(description = "保养查询 ")
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/tpm/vo/MaintainPlanExpireQueryVO.class */
|
public class MaintainPlanExpireQueryVO {
|
@ApiModelProperty("编码")
|
private String code;
|
@ApiModelProperty("机器编码")
|
private String deviceCode;
|
@ApiModelProperty("机器名称")
|
private String deviceName;
|
@ApiModelProperty("保养项目名称")
|
private String projectName;
|
@ApiModelProperty("计划类型(0:人工创建;1:自动生成)")
|
private Integer isAuto;
|
|
public void setCode(final String code) {
|
this.code = code;
|
}
|
|
public void setDeviceCode(final String deviceCode) {
|
this.deviceCode = deviceCode;
|
}
|
|
public void setDeviceName(final String deviceName) {
|
this.deviceName = deviceName;
|
}
|
|
public void setProjectName(final String projectName) {
|
this.projectName = projectName;
|
}
|
|
public void setIsAuto(final Integer isAuto) {
|
this.isAuto = isAuto;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof MaintainPlanExpireQueryVO) {
|
MaintainPlanExpireQueryVO other = (MaintainPlanExpireQueryVO) o;
|
if (other.canEqual(this)) {
|
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$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$projectName = getProjectName();
|
Object other$projectName = other.getProjectName();
|
return this$projectName == null ? other$projectName == null : this$projectName.equals(other$projectName);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof MaintainPlanExpireQueryVO;
|
}
|
|
public int hashCode() {
|
Object $isAuto = getIsAuto();
|
int result = (1 * 59) + ($isAuto == null ? 43 : $isAuto.hashCode());
|
Object $code = getCode();
|
int result2 = (result * 59) + ($code == null ? 43 : $code.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 $projectName = getProjectName();
|
return (result4 * 59) + ($projectName == null ? 43 : $projectName.hashCode());
|
}
|
|
public String toString() {
|
return "MaintainPlanExpireQueryVO(code=" + getCode() + ", deviceCode=" + getDeviceCode() + ", deviceName=" + getDeviceName() + ", projectName=" + getProjectName() + ", isAuto=" + getIsAuto() + ")";
|
}
|
|
public String getCode() {
|
return this.code;
|
}
|
|
public String getDeviceCode() {
|
return this.deviceCode;
|
}
|
|
public String getDeviceName() {
|
return this.deviceName;
|
}
|
|
public String getProjectName() {
|
return this.projectName;
|
}
|
|
public Integer getIsAuto() {
|
return this.isAuto;
|
}
|
}
|