package com.qianwen.smartman.modules.smis.vo;
|
|
import io.swagger.annotations.ApiModelProperty;
|
import java.io.Serializable;
|
|
public class ProcessWorkstationTypeVO implements Serializable {
|
private static final long serialVersionUID = 1;
|
@ApiModelProperty(name = "id", dataType = "java.lang.String")
|
private Long id;
|
@ApiModelProperty("工位编号")
|
private String workstationCode;
|
@ApiModelProperty("工位名称")
|
private String workstationName;
|
|
|
public static class ProcessWorkstationTypeVOBuilder {
|
private Long id;
|
private String workstationCode;
|
private String workstationName;
|
|
ProcessWorkstationTypeVOBuilder() {
|
}
|
|
public ProcessWorkstationTypeVOBuilder id(final Long id) {
|
this.id = id;
|
return this;
|
}
|
|
public ProcessWorkstationTypeVOBuilder workstationCode(final String workstationCode) {
|
this.workstationCode = workstationCode;
|
return this;
|
}
|
|
public ProcessWorkstationTypeVOBuilder workstationName(final String workstationName) {
|
this.workstationName = workstationName;
|
return this;
|
}
|
|
public ProcessWorkstationTypeVO build() {
|
return new ProcessWorkstationTypeVO(this.id, this.workstationCode, this.workstationName);
|
}
|
|
public String toString() {
|
return "ProcessWorkstationTypeVO.ProcessWorkstationTypeVOBuilder(id=" + this.id + ", workstationCode=" + this.workstationCode + ", workstationName=" + this.workstationName + ")";
|
}
|
}
|
|
public void setId(final Long id) {
|
this.id = id;
|
}
|
|
public void setWorkstationCode(final String workstationCode) {
|
this.workstationCode = workstationCode;
|
}
|
|
public void setWorkstationName(final String workstationName) {
|
this.workstationName = workstationName;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof ProcessWorkstationTypeVO) {
|
ProcessWorkstationTypeVO other = (ProcessWorkstationTypeVO) 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$workstationCode = getWorkstationCode();
|
Object other$workstationCode = other.getWorkstationCode();
|
if (this$workstationCode == null) {
|
if (other$workstationCode != null) {
|
return false;
|
}
|
} else if (!this$workstationCode.equals(other$workstationCode)) {
|
return false;
|
}
|
Object this$workstationName = getWorkstationName();
|
Object other$workstationName = other.getWorkstationName();
|
return this$workstationName == null ? other$workstationName == null : this$workstationName.equals(other$workstationName);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof ProcessWorkstationTypeVO;
|
}
|
|
public int hashCode() {
|
Object $id = getId();
|
int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
|
Object $workstationCode = getWorkstationCode();
|
int result2 = (result * 59) + ($workstationCode == null ? 43 : $workstationCode.hashCode());
|
Object $workstationName = getWorkstationName();
|
return (result2 * 59) + ($workstationName == null ? 43 : $workstationName.hashCode());
|
}
|
|
public String toString() {
|
return "ProcessWorkstationTypeVO(id=" + getId() + ", workstationCode=" + getWorkstationCode() + ", workstationName=" + getWorkstationName() + ")";
|
}
|
|
public static ProcessWorkstationTypeVOBuilder builder() {
|
return new ProcessWorkstationTypeVOBuilder();
|
}
|
|
public ProcessWorkstationTypeVO(final Long id, final String workstationCode, final String workstationName) {
|
this.id = id;
|
this.workstationCode = workstationCode;
|
this.workstationName = workstationName;
|
}
|
|
public ProcessWorkstationTypeVO() {
|
}
|
|
public Long getId() {
|
return this.id;
|
}
|
|
public String getWorkstationCode() {
|
return this.workstationCode;
|
}
|
|
public String getWorkstationName() {
|
return this.workstationName;
|
}
|
}
|