package com.qianwen.smartman.modules.smis.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;
|
import java.util.List;
|
|
public class MaintainRecordExportVO implements Serializable {
|
@JsonSerialize(using = ToStringSerializer.class)
|
@ApiModelProperty(value = "机器类型ID", dataType = "java.lang.String")
|
private Long deviceTypeId;
|
@ApiModelProperty("保养记录状态")
|
private List<Integer> recordStatusList;
|
@ApiModelProperty("关键词")
|
private String keyWord;
|
@ApiModelProperty(value = "设备Id", dataType = "java.lang.String")
|
private Long deviceId;
|
|
public MaintainRecordExportVO setDeviceTypeId(final Long deviceTypeId) {
|
this.deviceTypeId = deviceTypeId;
|
return this;
|
}
|
|
public MaintainRecordExportVO setRecordStatusList(final List<Integer> recordStatusList) {
|
this.recordStatusList = recordStatusList;
|
return this;
|
}
|
|
public MaintainRecordExportVO setKeyWord(final String keyWord) {
|
this.keyWord = keyWord;
|
return this;
|
}
|
|
public MaintainRecordExportVO setDeviceId(final Long deviceId) {
|
this.deviceId = deviceId;
|
return this;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof MaintainRecordExportVO) {
|
MaintainRecordExportVO other = (MaintainRecordExportVO) 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$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$recordStatusList = getRecordStatusList();
|
Object other$recordStatusList = other.getRecordStatusList();
|
if (this$recordStatusList == null) {
|
if (other$recordStatusList != null) {
|
return false;
|
}
|
} else if (!this$recordStatusList.equals(other$recordStatusList)) {
|
return false;
|
}
|
Object this$keyWord = getKeyWord();
|
Object other$keyWord = other.getKeyWord();
|
return this$keyWord == null ? other$keyWord == null : this$keyWord.equals(other$keyWord);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof MaintainRecordExportVO;
|
}
|
|
public int hashCode() {
|
Object $deviceTypeId = getDeviceTypeId();
|
int result = (1 * 59) + ($deviceTypeId == null ? 43 : $deviceTypeId.hashCode());
|
Object $deviceId = getDeviceId();
|
int result2 = (result * 59) + ($deviceId == null ? 43 : $deviceId.hashCode());
|
Object $recordStatusList = getRecordStatusList();
|
int result3 = (result2 * 59) + ($recordStatusList == null ? 43 : $recordStatusList.hashCode());
|
Object $keyWord = getKeyWord();
|
return (result3 * 59) + ($keyWord == null ? 43 : $keyWord.hashCode());
|
}
|
|
public String toString() {
|
return "MaintainRecordExportVO(deviceTypeId=" + getDeviceTypeId() + ", recordStatusList=" + getRecordStatusList() + ", keyWord=" + getKeyWord() + ", deviceId=" + getDeviceId() + ")";
|
}
|
|
public Long getDeviceTypeId() {
|
return this.deviceTypeId;
|
}
|
|
public List<Integer> getRecordStatusList() {
|
return this.recordStatusList;
|
}
|
|
public String getKeyWord() {
|
return this.keyWord;
|
}
|
|
public Long getDeviceId() {
|
return this.deviceId;
|
}
|
}
|