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.ApiModelProperty;
|
import java.io.Serializable;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/tpm/vo/RepairRecordLookVO.class */
|
public class RepairRecordLookVO implements Serializable {
|
@JsonSerialize(using = ToStringSerializer.class)
|
@ApiModelProperty("设备类型id")
|
private Long deviceTypeId;
|
@ApiModelProperty("维修状态")
|
private Integer recordStatus;
|
@ApiModelProperty("关键词,维修单号,申请单号,设备编码,设备名称模糊匹配")
|
private String keyWords;
|
|
public RepairRecordLookVO setDeviceTypeId(final Long deviceTypeId) {
|
this.deviceTypeId = deviceTypeId;
|
return this;
|
}
|
|
public RepairRecordLookVO setRecordStatus(final Integer recordStatus) {
|
this.recordStatus = recordStatus;
|
return this;
|
}
|
|
public RepairRecordLookVO setKeyWords(final String keyWords) {
|
this.keyWords = keyWords;
|
return this;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof RepairRecordLookVO) {
|
RepairRecordLookVO other = (RepairRecordLookVO) o;
|
if (other.canEqual(this)) {
|
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$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$keyWords = getKeyWords();
|
Object other$keyWords = other.getKeyWords();
|
return this$keyWords == null ? other$keyWords == null : this$keyWords.equals(other$keyWords);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof RepairRecordLookVO;
|
}
|
|
public int hashCode() {
|
Object $deviceTypeId = getDeviceTypeId();
|
int result = (1 * 59) + ($deviceTypeId == null ? 43 : $deviceTypeId.hashCode());
|
Object $recordStatus = getRecordStatus();
|
int result2 = (result * 59) + ($recordStatus == null ? 43 : $recordStatus.hashCode());
|
Object $keyWords = getKeyWords();
|
return (result2 * 59) + ($keyWords == null ? 43 : $keyWords.hashCode());
|
}
|
|
public String toString() {
|
return "RepairRecordLookVO(deviceTypeId=" + getDeviceTypeId() + ", recordStatus=" + getRecordStatus() + ", keyWords=" + getKeyWords() + ")";
|
}
|
|
public Long getDeviceTypeId() {
|
return this.deviceTypeId;
|
}
|
|
public Integer getRecordStatus() {
|
return this.recordStatus;
|
}
|
|
public String getKeyWords() {
|
return this.keyWords;
|
}
|
}
|