package com.qianwen.smartman.modules.cps.dto;
|
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import com.qianwen.core.mp.support.Query;
|
|
@ApiModel(description = "机器类型分页查询信息")
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/dto/DeviceTypePageDTO.class */
|
public class DeviceTypePageDTO {
|
@ApiModelProperty("分页信息")
|
private Query query;
|
@ApiModelProperty("关键词")
|
private String keyWord;
|
|
public void setQuery(final Query query) {
|
this.query = query;
|
}
|
|
public void setKeyWord(final String keyWord) {
|
this.keyWord = keyWord;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof DeviceTypePageDTO) {
|
DeviceTypePageDTO other = (DeviceTypePageDTO) o;
|
if (other.canEqual(this)) {
|
Object this$query = getQuery();
|
Object other$query = other.getQuery();
|
if (this$query == null) {
|
if (other$query != null) {
|
return false;
|
}
|
} else if (!this$query.equals(other$query)) {
|
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 DeviceTypePageDTO;
|
}
|
|
public int hashCode() {
|
Object $query = getQuery();
|
int result = (1 * 59) + ($query == null ? 43 : $query.hashCode());
|
Object $keyWord = getKeyWord();
|
return (result * 59) + ($keyWord == null ? 43 : $keyWord.hashCode());
|
}
|
|
public String toString() {
|
return "DeviceTypePageDTO(query=" + getQuery() + ", keyWord=" + getKeyWord() + ")";
|
}
|
|
public Query getQuery() {
|
return this.query;
|
}
|
|
public String getKeyWord() {
|
return this.keyWord;
|
}
|
}
|