package com.qianwen.smartman.modules.cps.vo;
|
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import java.io.Serializable;
|
|
@ApiModel(description = "分页点检项信息")
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/vo/CheckItemVO.class */
|
public class CheckItemVO implements Serializable {
|
private static final long serialVersionUID = -687623542076851913L;
|
@ApiModelProperty(name = "逐渐id", dataType = "java.lang.String")
|
private Long id;
|
@ApiModelProperty(name = "点检项目id", dataType = "java.lang.String")
|
private Long checkProjectId;
|
@ApiModelProperty("点检项")
|
private String name;
|
@ApiModelProperty("数值类型")
|
private String valueType;
|
@ApiModelProperty("点检要求")
|
private String requirement;
|
@ApiModelProperty("标准数值")
|
private String standardValue;
|
@ApiModelProperty("启用1 停用0")
|
private Integer status;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/vo/CheckItemVO$CheckItemVOBuilder.class */
|
public static class CheckItemVOBuilder {
|
private Long id;
|
private Long checkProjectId;
|
private String name;
|
private String valueType;
|
private String requirement;
|
private String standardValue;
|
private Integer status;
|
|
CheckItemVOBuilder() {
|
}
|
|
public CheckItemVOBuilder id(final Long id) {
|
this.id = id;
|
return this;
|
}
|
|
public CheckItemVOBuilder checkProjectId(final Long checkProjectId) {
|
this.checkProjectId = checkProjectId;
|
return this;
|
}
|
|
public CheckItemVOBuilder name(final String name) {
|
this.name = name;
|
return this;
|
}
|
|
public CheckItemVOBuilder valueType(final String valueType) {
|
this.valueType = valueType;
|
return this;
|
}
|
|
public CheckItemVOBuilder requirement(final String requirement) {
|
this.requirement = requirement;
|
return this;
|
}
|
|
public CheckItemVOBuilder standardValue(final String standardValue) {
|
this.standardValue = standardValue;
|
return this;
|
}
|
|
public CheckItemVOBuilder status(final Integer status) {
|
this.status = status;
|
return this;
|
}
|
|
public CheckItemVO build() {
|
return new CheckItemVO(this.id, this.checkProjectId, this.name, this.valueType, this.requirement, this.standardValue, this.status);
|
}
|
|
public String toString() {
|
return "CheckItemVO.CheckItemVOBuilder(id=" + this.id + ", checkProjectId=" + this.checkProjectId + ", name=" + this.name + ", valueType=" + this.valueType + ", requirement=" + this.requirement + ", standardValue=" + this.standardValue + ", status=" + this.status + ")";
|
}
|
}
|
|
public void setId(final Long id) {
|
this.id = id;
|
}
|
|
public void setCheckProjectId(final Long checkProjectId) {
|
this.checkProjectId = checkProjectId;
|
}
|
|
public void setName(final String name) {
|
this.name = name;
|
}
|
|
public void setValueType(final String valueType) {
|
this.valueType = valueType;
|
}
|
|
public void setRequirement(final String requirement) {
|
this.requirement = requirement;
|
}
|
|
public void setStandardValue(final String standardValue) {
|
this.standardValue = standardValue;
|
}
|
|
public void setStatus(final Integer status) {
|
this.status = status;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof CheckItemVO) {
|
CheckItemVO other = (CheckItemVO) o;
|
if (other.canEqual(this)) {
|
Object this$id = getId();
|
Object other$id = other.getId();
|
if (this$id == null) {
|
if (other$id != null) {
|
return false;
|
}
|
} else if (!this$id.equals(other$id)) {
|
return false;
|
}
|
Object this$checkProjectId = getCheckProjectId();
|
Object other$checkProjectId = other.getCheckProjectId();
|
if (this$checkProjectId == null) {
|
if (other$checkProjectId != null) {
|
return false;
|
}
|
} else if (!this$checkProjectId.equals(other$checkProjectId)) {
|
return false;
|
}
|
Object this$status = getStatus();
|
Object other$status = other.getStatus();
|
if (this$status == null) {
|
if (other$status != null) {
|
return false;
|
}
|
} else if (!this$status.equals(other$status)) {
|
return false;
|
}
|
Object this$name = getName();
|
Object other$name = other.getName();
|
if (this$name == null) {
|
if (other$name != null) {
|
return false;
|
}
|
} else if (!this$name.equals(other$name)) {
|
return false;
|
}
|
Object this$valueType = getValueType();
|
Object other$valueType = other.getValueType();
|
if (this$valueType == null) {
|
if (other$valueType != null) {
|
return false;
|
}
|
} else if (!this$valueType.equals(other$valueType)) {
|
return false;
|
}
|
Object this$requirement = getRequirement();
|
Object other$requirement = other.getRequirement();
|
if (this$requirement == null) {
|
if (other$requirement != null) {
|
return false;
|
}
|
} else if (!this$requirement.equals(other$requirement)) {
|
return false;
|
}
|
Object this$standardValue = getStandardValue();
|
Object other$standardValue = other.getStandardValue();
|
return this$standardValue == null ? other$standardValue == null : this$standardValue.equals(other$standardValue);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof CheckItemVO;
|
}
|
|
public int hashCode() {
|
Object $id = getId();
|
int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
|
Object $checkProjectId = getCheckProjectId();
|
int result2 = (result * 59) + ($checkProjectId == null ? 43 : $checkProjectId.hashCode());
|
Object $status = getStatus();
|
int result3 = (result2 * 59) + ($status == null ? 43 : $status.hashCode());
|
Object $name = getName();
|
int result4 = (result3 * 59) + ($name == null ? 43 : $name.hashCode());
|
Object $valueType = getValueType();
|
int result5 = (result4 * 59) + ($valueType == null ? 43 : $valueType.hashCode());
|
Object $requirement = getRequirement();
|
int result6 = (result5 * 59) + ($requirement == null ? 43 : $requirement.hashCode());
|
Object $standardValue = getStandardValue();
|
return (result6 * 59) + ($standardValue == null ? 43 : $standardValue.hashCode());
|
}
|
|
public String toString() {
|
return "CheckItemVO(id=" + getId() + ", checkProjectId=" + getCheckProjectId() + ", name=" + getName() + ", valueType=" + getValueType() + ", requirement=" + getRequirement() + ", standardValue=" + getStandardValue() + ", status=" + getStatus() + ")";
|
}
|
|
public static CheckItemVOBuilder builder() {
|
return new CheckItemVOBuilder();
|
}
|
|
public CheckItemVO() {
|
}
|
|
public CheckItemVO(final Long id, final Long checkProjectId, final String name, final String valueType, final String requirement, final String standardValue, final Integer status) {
|
this.id = id;
|
this.checkProjectId = checkProjectId;
|
this.name = name;
|
this.valueType = valueType;
|
this.requirement = requirement;
|
this.standardValue = standardValue;
|
this.status = status;
|
}
|
|
public Long getId() {
|
return this.id;
|
}
|
|
public Long getCheckProjectId() {
|
return this.checkProjectId;
|
}
|
|
public String getName() {
|
return this.name;
|
}
|
|
public String getValueType() {
|
return this.valueType;
|
}
|
|
public String getRequirement() {
|
return this.requirement;
|
}
|
|
public String getStandardValue() {
|
return this.standardValue;
|
}
|
|
public Integer getStatus() {
|
return this.status;
|
}
|
}
|