package com.qianwen.smartman.modules.cps.entity;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.qianwen.core.tenant.mp.TenantEntity;
|
|
@TableName("blade_workstation_wcs")
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/entity/WorkstationWcs.class */
|
public class WorkstationWcs extends TenantEntity {
|
private static final long serialVersionUID = 6406569428341022321L;
|
private Long workstationId;
|
private String dataItem;
|
private Integer dataType;
|
private Long dmpVariablesId;
|
private String dataItemCrc;
|
private String collectSettingItem;
|
private Boolean bigScreen;
|
private Boolean realTimeData;
|
private Boolean processParameter;
|
private Long usageId;
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof WorkstationWcs) {
|
WorkstationWcs other = (WorkstationWcs) o;
|
if (other.canEqual(this) && super.equals(o)) {
|
Object this$workstationId = getWorkstationId();
|
Object other$workstationId = other.getWorkstationId();
|
if (this$workstationId == null) {
|
if (other$workstationId != null) {
|
return false;
|
}
|
} else if (!this$workstationId.equals(other$workstationId)) {
|
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$usageId = getUsageId();
|
Object other$usageId = other.getUsageId();
|
if (this$usageId == null) {
|
if (other$usageId != null) {
|
return false;
|
}
|
} else if (!this$usageId.equals(other$usageId)) {
|
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$dataItemCrc = getDataItemCrc();
|
Object other$dataItemCrc = other.getDataItemCrc();
|
if (this$dataItemCrc == null) {
|
if (other$dataItemCrc != null) {
|
return false;
|
}
|
} else if (!this$dataItemCrc.equals(other$dataItemCrc)) {
|
return false;
|
}
|
Object this$collectSettingItem = getCollectSettingItem();
|
Object other$collectSettingItem = other.getCollectSettingItem();
|
return this$collectSettingItem == null ? other$collectSettingItem == null : this$collectSettingItem.equals(other$collectSettingItem);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof WorkstationWcs;
|
}
|
|
public int hashCode() {
|
int result = super.hashCode();
|
Object $workstationId = getWorkstationId();
|
int result2 = (result * 59) + ($workstationId == null ? 43 : $workstationId.hashCode());
|
Object $dataType = getDataType();
|
int result3 = (result2 * 59) + ($dataType == null ? 43 : $dataType.hashCode());
|
Object $dmpVariablesId = getDmpVariablesId();
|
int result4 = (result3 * 59) + ($dmpVariablesId == null ? 43 : $dmpVariablesId.hashCode());
|
Object $bigScreen = getBigScreen();
|
int result5 = (result4 * 59) + ($bigScreen == null ? 43 : $bigScreen.hashCode());
|
Object $realTimeData = getRealTimeData();
|
int result6 = (result5 * 59) + ($realTimeData == null ? 43 : $realTimeData.hashCode());
|
Object $processParameter = getProcessParameter();
|
int result7 = (result6 * 59) + ($processParameter == null ? 43 : $processParameter.hashCode());
|
Object $usageId = getUsageId();
|
int result8 = (result7 * 59) + ($usageId == null ? 43 : $usageId.hashCode());
|
Object $dataItem = getDataItem();
|
int result9 = (result8 * 59) + ($dataItem == null ? 43 : $dataItem.hashCode());
|
Object $dataItemCrc = getDataItemCrc();
|
int result10 = (result9 * 59) + ($dataItemCrc == null ? 43 : $dataItemCrc.hashCode());
|
Object $collectSettingItem = getCollectSettingItem();
|
return (result10 * 59) + ($collectSettingItem == null ? 43 : $collectSettingItem.hashCode());
|
}
|
|
public void setWorkstationId(final Long workstationId) {
|
this.workstationId = workstationId;
|
}
|
|
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 setDataItemCrc(final String dataItemCrc) {
|
this.dataItemCrc = dataItemCrc;
|
}
|
|
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 Long usageId) {
|
this.usageId = usageId;
|
}
|
|
public String toString() {
|
return "WorkstationWcs(workstationId=" + getWorkstationId() + ", dataItem=" + getDataItem() + ", dataType=" + getDataType() + ", dmpVariablesId=" + getDmpVariablesId() + ", dataItemCrc=" + getDataItemCrc() + ", collectSettingItem=" + getCollectSettingItem() + ", bigScreen=" + getBigScreen() + ", realTimeData=" + getRealTimeData() + ", processParameter=" + getProcessParameter() + ", usageId=" + getUsageId() + ")";
|
}
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/entity/WorkstationWcs$WorkstationWcsBuilder.class */
|
public static class WorkstationWcsBuilder {
|
private Long workstationId;
|
private String dataItem;
|
private Integer dataType;
|
private Long dmpVariablesId;
|
private String dataItemCrc;
|
private String collectSettingItem;
|
private Boolean bigScreen;
|
private Boolean realTimeData;
|
private Boolean processParameter;
|
private Long usageId;
|
|
WorkstationWcsBuilder() {
|
}
|
|
public WorkstationWcsBuilder workstationId(final Long workstationId) {
|
this.workstationId = workstationId;
|
return this;
|
}
|
|
public WorkstationWcsBuilder dataItem(final String dataItem) {
|
this.dataItem = dataItem;
|
return this;
|
}
|
|
public WorkstationWcsBuilder dataType(final Integer dataType) {
|
this.dataType = dataType;
|
return this;
|
}
|
|
public WorkstationWcsBuilder dmpVariablesId(final Long dmpVariablesId) {
|
this.dmpVariablesId = dmpVariablesId;
|
return this;
|
}
|
|
public WorkstationWcsBuilder dataItemCrc(final String dataItemCrc) {
|
this.dataItemCrc = dataItemCrc;
|
return this;
|
}
|
|
public WorkstationWcsBuilder collectSettingItem(final String collectSettingItem) {
|
this.collectSettingItem = collectSettingItem;
|
return this;
|
}
|
|
public WorkstationWcsBuilder bigScreen(final Boolean bigScreen) {
|
this.bigScreen = bigScreen;
|
return this;
|
}
|
|
public WorkstationWcsBuilder realTimeData(final Boolean realTimeData) {
|
this.realTimeData = realTimeData;
|
return this;
|
}
|
|
public WorkstationWcsBuilder processParameter(final Boolean processParameter) {
|
this.processParameter = processParameter;
|
return this;
|
}
|
|
public WorkstationWcsBuilder usageId(final Long usageId) {
|
this.usageId = usageId;
|
return this;
|
}
|
|
public WorkstationWcs build() {
|
return new WorkstationWcs(this.workstationId, this.dataItem, this.dataType, this.dmpVariablesId, this.dataItemCrc, this.collectSettingItem, this.bigScreen, this.realTimeData, this.processParameter, this.usageId);
|
}
|
|
public String toString() {
|
return "WorkstationWcs.WorkstationWcsBuilder(workstationId=" + this.workstationId + ", dataItem=" + this.dataItem + ", dataType=" + this.dataType + ", dmpVariablesId=" + this.dmpVariablesId + ", dataItemCrc=" + this.dataItemCrc + ", collectSettingItem=" + this.collectSettingItem + ", bigScreen=" + this.bigScreen + ", realTimeData=" + this.realTimeData + ", processParameter=" + this.processParameter + ", usageId=" + this.usageId + ")";
|
}
|
}
|
|
public static WorkstationWcsBuilder builder() {
|
return new WorkstationWcsBuilder();
|
}
|
|
public WorkstationWcs(final Long workstationId, final String dataItem, final Integer dataType, final Long dmpVariablesId, final String dataItemCrc, final String collectSettingItem, final Boolean bigScreen, final Boolean realTimeData, final Boolean processParameter, final Long usageId) {
|
this.workstationId = workstationId;
|
this.dataItem = dataItem;
|
this.dataType = dataType;
|
this.dmpVariablesId = dmpVariablesId;
|
this.dataItemCrc = dataItemCrc;
|
this.collectSettingItem = collectSettingItem;
|
this.bigScreen = bigScreen;
|
this.realTimeData = realTimeData;
|
this.processParameter = processParameter;
|
this.usageId = usageId;
|
}
|
|
public WorkstationWcs() {
|
}
|
|
public Long getWorkstationId() {
|
return this.workstationId;
|
}
|
|
public String getDataItem() {
|
return this.dataItem;
|
}
|
|
public Integer getDataType() {
|
return this.dataType;
|
}
|
|
public Long getDmpVariablesId() {
|
return this.dmpVariablesId;
|
}
|
|
public String getDataItemCrc() {
|
return this.dataItemCrc;
|
}
|
|
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 Long getUsageId() {
|
return this.usageId;
|
}
|
}
|