package com.qianwen.smartman.common.websocket.entity;
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
public class FmsWorkBench {
|
private String id;
|
@ApiModelProperty("工作台名称")
|
private String name;
|
@ApiModelProperty("工作台顺序")
|
private Integer sort;
|
@ApiModelProperty("托盘编码")
|
private String palletCode;
|
private String state;
|
|
public void setId(final String id) {
|
this.id = id;
|
}
|
|
public void setName(final String name) {
|
this.name = name;
|
}
|
|
public void setSort(final Integer sort) {
|
this.sort = sort;
|
}
|
|
public void setPalletCode(final String palletCode) {
|
this.palletCode = palletCode;
|
}
|
|
public void setState(final String state) {
|
this.state = state;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof FmsWorkBench) {
|
FmsWorkBench other = (FmsWorkBench) o;
|
if (other.canEqual(this)) {
|
Object this$sort = getSort();
|
Object other$sort = other.getSort();
|
if (this$sort == null) {
|
if (other$sort != null) {
|
return false;
|
}
|
} else if (!this$sort.equals(other$sort)) {
|
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$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$palletCode = getPalletCode();
|
Object other$palletCode = other.getPalletCode();
|
if (this$palletCode == null) {
|
if (other$palletCode != null) {
|
return false;
|
}
|
} else if (!this$palletCode.equals(other$palletCode)) {
|
return false;
|
}
|
Object this$state = getState();
|
Object other$state = other.getState();
|
return this$state == null ? other$state == null : this$state.equals(other$state);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof FmsWorkBench;
|
}
|
|
public int hashCode() {
|
Object $sort = getSort();
|
int result = (1 * 59) + ($sort == null ? 43 : $sort.hashCode());
|
Object $id = getId();
|
int result2 = (result * 59) + ($id == null ? 43 : $id.hashCode());
|
Object $name = getName();
|
int result3 = (result2 * 59) + ($name == null ? 43 : $name.hashCode());
|
Object $palletCode = getPalletCode();
|
int result4 = (result3 * 59) + ($palletCode == null ? 43 : $palletCode.hashCode());
|
Object $state = getState();
|
return (result4 * 59) + ($state == null ? 43 : $state.hashCode());
|
}
|
|
public String toString() {
|
return "FmsWorkBench(id=" + getId() + ", name=" + getName() + ", sort=" + getSort() + ", palletCode=" + getPalletCode() + ", state=" + getState() + ")";
|
}
|
|
public String getId() {
|
return this.id;
|
}
|
|
public String getName() {
|
return this.name;
|
}
|
|
public Integer getSort() {
|
return this.sort;
|
}
|
|
public String getPalletCode() {
|
return this.palletCode;
|
}
|
|
public String getState() {
|
return this.state;
|
}
|
}
|