package com.qianwen.smartman.modules.smis.vo;
|
|
import io.swagger.annotations.ApiModelProperty;
|
import java.util.List;
|
|
public class WorkstationOfWorkbenchVO {
|
@ApiModelProperty(value = "工位ID", dataType = "java.lang.String")
|
private Long workstationId;
|
@ApiModelProperty("工位编码")
|
private String workstationCode;
|
@ApiModelProperty("工位名称")
|
private String workstationName;
|
@ApiModelProperty("工作台集合")
|
List<WorkstationWorkbenchVO> workstationWorkbenchVOList;
|
|
|
public static class WorkstationOfWorkbenchVOBuilder {
|
private Long workstationId;
|
private String workstationCode;
|
private String workstationName;
|
private List<WorkstationWorkbenchVO> workstationWorkbenchVOList;
|
|
WorkstationOfWorkbenchVOBuilder() {
|
}
|
|
public WorkstationOfWorkbenchVOBuilder workstationId(final Long workstationId) {
|
this.workstationId = workstationId;
|
return this;
|
}
|
|
public WorkstationOfWorkbenchVOBuilder workstationCode(final String workstationCode) {
|
this.workstationCode = workstationCode;
|
return this;
|
}
|
|
public WorkstationOfWorkbenchVOBuilder workstationName(final String workstationName) {
|
this.workstationName = workstationName;
|
return this;
|
}
|
|
public WorkstationOfWorkbenchVOBuilder workstationWorkbenchVOList(final List<WorkstationWorkbenchVO> workstationWorkbenchVOList) {
|
this.workstationWorkbenchVOList = workstationWorkbenchVOList;
|
return this;
|
}
|
|
public WorkstationOfWorkbenchVO build() {
|
return new WorkstationOfWorkbenchVO(this.workstationId, this.workstationCode, this.workstationName, this.workstationWorkbenchVOList);
|
}
|
|
public String toString() {
|
return "WorkstationOfWorkbenchVO.WorkstationOfWorkbenchVOBuilder(workstationId=" + this.workstationId + ", workstationCode=" + this.workstationCode + ", workstationName=" + this.workstationName + ", workstationWorkbenchVOList=" + this.workstationWorkbenchVOList + ")";
|
}
|
}
|
|
public void setWorkstationId(final Long workstationId) {
|
this.workstationId = workstationId;
|
}
|
|
public void setWorkstationCode(final String workstationCode) {
|
this.workstationCode = workstationCode;
|
}
|
|
public void setWorkstationName(final String workstationName) {
|
this.workstationName = workstationName;
|
}
|
|
public void setWorkstationWorkbenchVOList(final List<WorkstationWorkbenchVO> workstationWorkbenchVOList) {
|
this.workstationWorkbenchVOList = workstationWorkbenchVOList;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof WorkstationOfWorkbenchVO) {
|
WorkstationOfWorkbenchVO other = (WorkstationOfWorkbenchVO) o;
|
if (other.canEqual(this)) {
|
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$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();
|
if (this$workstationName == null) {
|
if (other$workstationName != null) {
|
return false;
|
}
|
} else if (!this$workstationName.equals(other$workstationName)) {
|
return false;
|
}
|
Object this$workstationWorkbenchVOList = getWorkstationWorkbenchVOList();
|
Object other$workstationWorkbenchVOList = other.getWorkstationWorkbenchVOList();
|
return this$workstationWorkbenchVOList == null ? other$workstationWorkbenchVOList == null : this$workstationWorkbenchVOList.equals(other$workstationWorkbenchVOList);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof WorkstationOfWorkbenchVO;
|
}
|
|
public int hashCode() {
|
Object $workstationId = getWorkstationId();
|
int result = (1 * 59) + ($workstationId == null ? 43 : $workstationId.hashCode());
|
Object $workstationCode = getWorkstationCode();
|
int result2 = (result * 59) + ($workstationCode == null ? 43 : $workstationCode.hashCode());
|
Object $workstationName = getWorkstationName();
|
int result3 = (result2 * 59) + ($workstationName == null ? 43 : $workstationName.hashCode());
|
Object $workstationWorkbenchVOList = getWorkstationWorkbenchVOList();
|
return (result3 * 59) + ($workstationWorkbenchVOList == null ? 43 : $workstationWorkbenchVOList.hashCode());
|
}
|
|
public String toString() {
|
return "WorkstationOfWorkbenchVO(workstationId=" + getWorkstationId() + ", workstationCode=" + getWorkstationCode() + ", workstationName=" + getWorkstationName() + ", workstationWorkbenchVOList=" + getWorkstationWorkbenchVOList() + ")";
|
}
|
|
public static WorkstationOfWorkbenchVOBuilder builder() {
|
return new WorkstationOfWorkbenchVOBuilder();
|
}
|
|
public WorkstationOfWorkbenchVO(final Long workstationId, final String workstationCode, final String workstationName, final List<WorkstationWorkbenchVO> workstationWorkbenchVOList) {
|
this.workstationId = workstationId;
|
this.workstationCode = workstationCode;
|
this.workstationName = workstationName;
|
this.workstationWorkbenchVOList = workstationWorkbenchVOList;
|
}
|
|
public WorkstationOfWorkbenchVO() {
|
}
|
|
public Long getWorkstationId() {
|
return this.workstationId;
|
}
|
|
public String getWorkstationCode() {
|
return this.workstationCode;
|
}
|
|
public String getWorkstationName() {
|
return this.workstationName;
|
}
|
|
public List<WorkstationWorkbenchVO> getWorkstationWorkbenchVOList() {
|
return this.workstationWorkbenchVOList;
|
}
|
}
|