package com.qianwen.smartman.modules.cps.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 javax.validation.constraints.NotNull;
|
|
public class WorkstationWcsSaveNewVO implements Serializable {
|
private static final long serialVersionUID = -8474615909932057153L;
|
@JsonSerialize(using = ToStringSerializer.class)
|
@ApiModelProperty("id")
|
private Long id;
|
@ApiModelProperty(value = "工位变量显示名称", required = true)
|
private String dataItem;
|
@NotNull(message = "workstationWcs.dataType.notNull")
|
@ApiModelProperty(value = "采集用途", required = true)
|
private Integer dataType;
|
@ApiModelProperty(value = "采集变量名称对应采集项id", required = true)
|
private Long dmpVariablesId;
|
@ApiModelProperty(value = "采集项", required = true)
|
private String collectSettingItem;
|
@ApiModelProperty(value = "大屏", required = false)
|
private Boolean bigScreen;
|
@ApiModelProperty(value = "实时数据", required = false)
|
private Boolean realTimeData;
|
@ApiModelProperty(value = "过程参数", required = false)
|
private Boolean processParameter;
|
@ApiModelProperty("数据标签")
|
private String usageId;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/vo/WorkstationWcsSaveNewVO$WorkstationWcsSaveNewVOBuilder.class */
|
public static class WorkstationWcsSaveNewVOBuilder {
|
private Long id;
|
private String dataItem;
|
private Integer dataType;
|
private Long dmpVariablesId;
|
private String collectSettingItem;
|
private Boolean bigScreen;
|
private Boolean realTimeData;
|
private Boolean processParameter;
|
private String usageId;
|
|
WorkstationWcsSaveNewVOBuilder() {
|
}
|
|
public WorkstationWcsSaveNewVOBuilder id(final Long id) {
|
this.id = id;
|
return this;
|
}
|
|
public WorkstationWcsSaveNewVOBuilder dataItem(final String dataItem) {
|
this.dataItem = dataItem;
|
return this;
|
}
|
|
public WorkstationWcsSaveNewVOBuilder dataType(final Integer dataType) {
|
this.dataType = dataType;
|
return this;
|
}
|
|
public WorkstationWcsSaveNewVOBuilder dmpVariablesId(final Long dmpVariablesId) {
|
this.dmpVariablesId = dmpVariablesId;
|
return this;
|
}
|
|
public WorkstationWcsSaveNewVOBuilder collectSettingItem(final String collectSettingItem) {
|
this.collectSettingItem = collectSettingItem;
|
return this;
|
}
|
|
public WorkstationWcsSaveNewVOBuilder bigScreen(final Boolean bigScreen) {
|
this.bigScreen = bigScreen;
|
return this;
|
}
|
|
public WorkstationWcsSaveNewVOBuilder realTimeData(final Boolean realTimeData) {
|
this.realTimeData = realTimeData;
|
return this;
|
}
|
|
public WorkstationWcsSaveNewVOBuilder processParameter(final Boolean processParameter) {
|
this.processParameter = processParameter;
|
return this;
|
}
|
|
public WorkstationWcsSaveNewVOBuilder usageId(final String usageId) {
|
this.usageId = usageId;
|
return this;
|
}
|
|
public WorkstationWcsSaveNewVO build() {
|
return new WorkstationWcsSaveNewVO(this.id, this.dataItem, this.dataType, this.dmpVariablesId, this.collectSettingItem, this.bigScreen, this.realTimeData, this.processParameter, this.usageId);
|
}
|
|
public String toString() {
|
return "WorkstationWcsSaveNewVO.WorkstationWcsSaveNewVOBuilder(id=" + this.id + ", dataItem=" + this.dataItem + ", dataType=" + this.dataType + ", dmpVariablesId=" + this.dmpVariablesId + ", collectSettingItem=" + this.collectSettingItem + ", bigScreen=" + this.bigScreen + ", realTimeData=" + this.realTimeData + ", processParameter=" + this.processParameter + ", usageId=" + this.usageId + ")";
|
}
|
}
|
|
public void setId(final Long id) {
|
this.id = id;
|
}
|
|
public void setDataItem(final String dataItem) {
|
this.dataItem = dataItem;
|
}
|
|
public void setDataType(final Integer dataType) {
|
this.dataType = dataType;
|
}
|
|
public void setDmpVariablesId(final Long dmpVariablesId) {
|
this.dmpVariablesId = dmpVariablesId;
|
}
|
|
public void setCollectSettingItem(final String collectSettingItem) {
|
this.collectSettingItem = collectSettingItem;
|
}
|
|
public void setBigScreen(final Boolean bigScreen) {
|
this.bigScreen = bigScreen;
|
}
|
|
public void setRealTimeData(final Boolean realTimeData) {
|
this.realTimeData = realTimeData;
|
}
|
|
public void setProcessParameter(final Boolean processParameter) {
|
this.processParameter = processParameter;
|
}
|
|
public void setUsageId(final String usageId) {
|
this.usageId = usageId;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof WorkstationWcsSaveNewVO) {
|
WorkstationWcsSaveNewVO other = (WorkstationWcsSaveNewVO) 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$dataType = getDataType();
|
Object other$dataType = other.getDataType();
|
if (this$dataType == null) {
|
if (other$dataType != null) {
|
return false;
|
}
|
} else if (!this$dataType.equals(other$dataType)) {
|
return false;
|
}
|
Object this$dmpVariablesId = getDmpVariablesId();
|
Object other$dmpVariablesId = other.getDmpVariablesId();
|
if (this$dmpVariablesId == null) {
|
if (other$dmpVariablesId != null) {
|
return false;
|
}
|
} else if (!this$dmpVariablesId.equals(other$dmpVariablesId)) {
|
return false;
|
}
|
Object this$bigScreen = getBigScreen();
|
Object other$bigScreen = other.getBigScreen();
|
if (this$bigScreen == null) {
|
if (other$bigScreen != null) {
|
return false;
|
}
|
} else if (!this$bigScreen.equals(other$bigScreen)) {
|
return false;
|
}
|
Object this$realTimeData = getRealTimeData();
|
Object other$realTimeData = other.getRealTimeData();
|
if (this$realTimeData == null) {
|
if (other$realTimeData != null) {
|
return false;
|
}
|
} else if (!this$realTimeData.equals(other$realTimeData)) {
|
return false;
|
}
|
Object this$processParameter = getProcessParameter();
|
Object other$processParameter = other.getProcessParameter();
|
if (this$processParameter == null) {
|
if (other$processParameter != null) {
|
return false;
|
}
|
} else if (!this$processParameter.equals(other$processParameter)) {
|
return false;
|
}
|
Object this$dataItem = getDataItem();
|
Object other$dataItem = other.getDataItem();
|
if (this$dataItem == null) {
|
if (other$dataItem != null) {
|
return false;
|
}
|
} else if (!this$dataItem.equals(other$dataItem)) {
|
return false;
|
}
|
Object this$collectSettingItem = getCollectSettingItem();
|
Object other$collectSettingItem = other.getCollectSettingItem();
|
if (this$collectSettingItem == null) {
|
if (other$collectSettingItem != null) {
|
return false;
|
}
|
} else if (!this$collectSettingItem.equals(other$collectSettingItem)) {
|
return false;
|
}
|
Object this$usageId = getUsageId();
|
Object other$usageId = other.getUsageId();
|
return this$usageId == null ? other$usageId == null : this$usageId.equals(other$usageId);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof WorkstationWcsSaveNewVO;
|
}
|
|
public int hashCode() {
|
Object $id = getId();
|
int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
|
Object $dataType = getDataType();
|
int result2 = (result * 59) + ($dataType == null ? 43 : $dataType.hashCode());
|
Object $dmpVariablesId = getDmpVariablesId();
|
int result3 = (result2 * 59) + ($dmpVariablesId == null ? 43 : $dmpVariablesId.hashCode());
|
Object $bigScreen = getBigScreen();
|
int result4 = (result3 * 59) + ($bigScreen == null ? 43 : $bigScreen.hashCode());
|
Object $realTimeData = getRealTimeData();
|
int result5 = (result4 * 59) + ($realTimeData == null ? 43 : $realTimeData.hashCode());
|
Object $processParameter = getProcessParameter();
|
int result6 = (result5 * 59) + ($processParameter == null ? 43 : $processParameter.hashCode());
|
Object $dataItem = getDataItem();
|
int result7 = (result6 * 59) + ($dataItem == null ? 43 : $dataItem.hashCode());
|
Object $collectSettingItem = getCollectSettingItem();
|
int result8 = (result7 * 59) + ($collectSettingItem == null ? 43 : $collectSettingItem.hashCode());
|
Object $usageId = getUsageId();
|
return (result8 * 59) + ($usageId == null ? 43 : $usageId.hashCode());
|
}
|
|
public String toString() {
|
return "WorkstationWcsSaveNewVO(id=" + getId() + ", dataItem=" + getDataItem() + ", dataType=" + getDataType() + ", dmpVariablesId=" + getDmpVariablesId() + ", collectSettingItem=" + getCollectSettingItem() + ", bigScreen=" + getBigScreen() + ", realTimeData=" + getRealTimeData() + ", processParameter=" + getProcessParameter() + ", usageId=" + getUsageId() + ")";
|
}
|
|
public static WorkstationWcsSaveNewVOBuilder builder() {
|
return new WorkstationWcsSaveNewVOBuilder();
|
}
|
|
public WorkstationWcsSaveNewVO(final Long id, final String dataItem, final Integer dataType, final Long dmpVariablesId, final String collectSettingItem, final Boolean bigScreen, final Boolean realTimeData, final Boolean processParameter, final String usageId) {
|
this.id = id;
|
this.dataItem = dataItem;
|
this.dataType = dataType;
|
this.dmpVariablesId = dmpVariablesId;
|
this.collectSettingItem = collectSettingItem;
|
this.bigScreen = bigScreen;
|
this.realTimeData = realTimeData;
|
this.processParameter = processParameter;
|
this.usageId = usageId;
|
}
|
|
public WorkstationWcsSaveNewVO() {
|
}
|
|
public Long getId() {
|
return this.id;
|
}
|
|
public String getDataItem() {
|
return this.dataItem;
|
}
|
|
public Integer getDataType() {
|
return this.dataType;
|
}
|
|
public Long getDmpVariablesId() {
|
return this.dmpVariablesId;
|
}
|
|
public String getCollectSettingItem() {
|
return this.collectSettingItem;
|
}
|
|
public Boolean getBigScreen() {
|
return this.bigScreen;
|
}
|
|
public Boolean getRealTimeData() {
|
return this.realTimeData;
|
}
|
|
public Boolean getProcessParameter() {
|
return this.processParameter;
|
}
|
|
public String getUsageId() {
|
return this.usageId;
|
}
|
}
|