package com.qianwen.smartman.common.websocket.entity;
|
|
import java.util.List;
|
|
|
public class FmsWorkstation {
|
private String code;
|
private String name;
|
private String programmName;
|
private String id;
|
private String state;
|
private String time;
|
private String ts;
|
private String color;
|
private List<FmsWorkBench> workBenchList;
|
private String toolStatus;
|
private Alarm alarmInfo;
|
|
public void setCode(final String code) {
|
this.code = code;
|
}
|
|
public void setName(final String name) {
|
this.name = name;
|
}
|
|
public void setProgrammName(final String programmName) {
|
this.programmName = programmName;
|
}
|
|
public void setId(final String id) {
|
this.id = id;
|
}
|
|
public void setState(final String state) {
|
this.state = state;
|
}
|
|
public void setTime(final String time) {
|
this.time = time;
|
}
|
|
public void setTs(final String ts) {
|
this.ts = ts;
|
}
|
|
public void setColor(final String color) {
|
this.color = color;
|
}
|
|
public void setWorkBenchList(final List<FmsWorkBench> workBenchList) {
|
this.workBenchList = workBenchList;
|
}
|
|
public void setToolStatus(final String toolStatus) {
|
this.toolStatus = toolStatus;
|
}
|
|
public void setAlarmInfo(final Alarm alarmInfo) {
|
this.alarmInfo = alarmInfo;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof FmsWorkstation) {
|
FmsWorkstation other = (FmsWorkstation) o;
|
if (other.canEqual(this)) {
|
Object this$code = getCode();
|
Object other$code = other.getCode();
|
if (this$code == null) {
|
if (other$code != null) {
|
return false;
|
}
|
} else if (!this$code.equals(other$code)) {
|
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$programmName = getProgrammName();
|
Object other$programmName = other.getProgrammName();
|
if (this$programmName == null) {
|
if (other$programmName != null) {
|
return false;
|
}
|
} else if (!this$programmName.equals(other$programmName)) {
|
return false;
|
}
|
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$state = getState();
|
Object other$state = other.getState();
|
if (this$state == null) {
|
if (other$state != null) {
|
return false;
|
}
|
} else if (!this$state.equals(other$state)) {
|
return false;
|
}
|
Object this$time = getTime();
|
Object other$time = other.getTime();
|
if (this$time == null) {
|
if (other$time != null) {
|
return false;
|
}
|
} else if (!this$time.equals(other$time)) {
|
return false;
|
}
|
Object this$ts = getTs();
|
Object other$ts = other.getTs();
|
if (this$ts == null) {
|
if (other$ts != null) {
|
return false;
|
}
|
} else if (!this$ts.equals(other$ts)) {
|
return false;
|
}
|
Object this$color = getColor();
|
Object other$color = other.getColor();
|
if (this$color == null) {
|
if (other$color != null) {
|
return false;
|
}
|
} else if (!this$color.equals(other$color)) {
|
return false;
|
}
|
Object this$workBenchList = getWorkBenchList();
|
Object other$workBenchList = other.getWorkBenchList();
|
if (this$workBenchList == null) {
|
if (other$workBenchList != null) {
|
return false;
|
}
|
} else if (!this$workBenchList.equals(other$workBenchList)) {
|
return false;
|
}
|
Object this$toolStatus = getToolStatus();
|
Object other$toolStatus = other.getToolStatus();
|
if (this$toolStatus == null) {
|
if (other$toolStatus != null) {
|
return false;
|
}
|
} else if (!this$toolStatus.equals(other$toolStatus)) {
|
return false;
|
}
|
Object this$alarmInfo = getAlarmInfo();
|
Object other$alarmInfo = other.getAlarmInfo();
|
return this$alarmInfo == null ? other$alarmInfo == null : this$alarmInfo.equals(other$alarmInfo);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof FmsWorkstation;
|
}
|
|
public int hashCode() {
|
Object $code = getCode();
|
int result = (1 * 59) + ($code == null ? 43 : $code.hashCode());
|
Object $name = getName();
|
int result2 = (result * 59) + ($name == null ? 43 : $name.hashCode());
|
Object $programmName = getProgrammName();
|
int result3 = (result2 * 59) + ($programmName == null ? 43 : $programmName.hashCode());
|
Object $id = getId();
|
int result4 = (result3 * 59) + ($id == null ? 43 : $id.hashCode());
|
Object $state = getState();
|
int result5 = (result4 * 59) + ($state == null ? 43 : $state.hashCode());
|
Object $time = getTime();
|
int result6 = (result5 * 59) + ($time == null ? 43 : $time.hashCode());
|
Object $ts = getTs();
|
int result7 = (result6 * 59) + ($ts == null ? 43 : $ts.hashCode());
|
Object $color = getColor();
|
int result8 = (result7 * 59) + ($color == null ? 43 : $color.hashCode());
|
Object $workBenchList = getWorkBenchList();
|
int result9 = (result8 * 59) + ($workBenchList == null ? 43 : $workBenchList.hashCode());
|
Object $toolStatus = getToolStatus();
|
int result10 = (result9 * 59) + ($toolStatus == null ? 43 : $toolStatus.hashCode());
|
Object $alarmInfo = getAlarmInfo();
|
return (result10 * 59) + ($alarmInfo == null ? 43 : $alarmInfo.hashCode());
|
}
|
|
public String toString() {
|
return "FmsWorkstation(code=" + getCode() + ", name=" + getName() + ", programmName=" + getProgrammName() + ", id=" + getId() + ", state=" + getState() + ", time=" + getTime() + ", ts=" + getTs() + ", color=" + getColor() + ", workBenchList=" + getWorkBenchList() + ", toolStatus=" + getToolStatus() + ", alarmInfo=" + getAlarmInfo() + ")";
|
}
|
|
public String getCode() {
|
return this.code;
|
}
|
|
public String getName() {
|
return this.name;
|
}
|
|
public String getProgrammName() {
|
return this.programmName;
|
}
|
|
public String getId() {
|
return this.id;
|
}
|
|
public String getState() {
|
return this.state;
|
}
|
|
public String getTime() {
|
return this.time;
|
}
|
|
public String getTs() {
|
return this.ts;
|
}
|
|
public String getColor() {
|
return this.color;
|
}
|
|
public List<FmsWorkBench> getWorkBenchList() {
|
return this.workBenchList;
|
}
|
|
public String getToolStatus() {
|
return this.toolStatus;
|
}
|
|
public Alarm getAlarmInfo() {
|
return this.alarmInfo;
|
}
|
}
|