package com.qianwen.smartman.modules.dnc.vo;
|
|
import io.swagger.annotations.ApiModelProperty;
|
import java.io.Serializable;
|
import javax.validation.constraints.NotNull;
|
import com.qianwen.core.mp.support.Query;
|
import com.qianwen.smartman.modules.dnc.enums.BagProcessEnum;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/dnc/vo/BagProcessQueryVO.class */
|
public class BagProcessQueryVO implements Serializable {
|
private static final long serialVersionUID = -5736528708352557308L;
|
@NotNull(message = "{bag.process.type}")
|
@ApiModelProperty("查询type BAG_OR_PROCESS工艺包和程序文档 ONLY_BAG仅工艺包 ONLY_PROCESS仅程序文档")
|
private BagProcessEnum type;
|
@ApiModelProperty("查询关键字")
|
private String keyword;
|
@ApiModelProperty("分页条件")
|
private Query query;
|
|
public void setType(final BagProcessEnum type) {
|
this.type = type;
|
}
|
|
public void setKeyword(final String keyword) {
|
this.keyword = keyword;
|
}
|
|
public void setQuery(final Query query) {
|
this.query = query;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof BagProcessQueryVO) {
|
BagProcessQueryVO other = (BagProcessQueryVO) o;
|
if (other.canEqual(this)) {
|
Object this$type = getType();
|
Object other$type = other.getType();
|
if (this$type == null) {
|
if (other$type != null) {
|
return false;
|
}
|
} else if (!this$type.equals(other$type)) {
|
return false;
|
}
|
Object this$keyword = getKeyword();
|
Object other$keyword = other.getKeyword();
|
if (this$keyword == null) {
|
if (other$keyword != null) {
|
return false;
|
}
|
} else if (!this$keyword.equals(other$keyword)) {
|
return false;
|
}
|
Object this$query = getQuery();
|
Object other$query = other.getQuery();
|
return this$query == null ? other$query == null : this$query.equals(other$query);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof BagProcessQueryVO;
|
}
|
|
public int hashCode() {
|
Object $type = getType();
|
int result = (1 * 59) + ($type == null ? 43 : $type.hashCode());
|
Object $keyword = getKeyword();
|
int result2 = (result * 59) + ($keyword == null ? 43 : $keyword.hashCode());
|
Object $query = getQuery();
|
return (result2 * 59) + ($query == null ? 43 : $query.hashCode());
|
}
|
|
public String toString() {
|
return "BagProcessQueryVO(type=" + getType() + ", keyword=" + getKeyword() + ", query=" + getQuery() + ")";
|
}
|
|
public BagProcessEnum getType() {
|
return this.type;
|
}
|
|
public String getKeyword() {
|
return this.keyword;
|
}
|
|
public Query getQuery() {
|
return this.query;
|
}
|
}
|