package com.qianwen.smartman.modules.cps.vo;
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
public class WorkstationWorkbenchVO {
|
@ApiModelProperty(value = "工作台ID", dataType = "java.lang.String")
|
private Long id;
|
@ApiModelProperty(value = "工位ID", dataType = "java.lang.String")
|
private Long workstationId;
|
@ApiModelProperty("工位编码")
|
private String workstationCode;
|
@ApiModelProperty("工位名称")
|
private String workstationName;
|
@ApiModelProperty("工位涉笔类型")
|
private Integer deviceType;
|
@ApiModelProperty("工位加工属性")
|
private Integer properties;
|
@ApiModelProperty("排序")
|
private Integer sort;
|
@ApiModelProperty("工作台名称")
|
private String name;
|
@ApiModelProperty("工作台是否为默认:1/是,0/否")
|
private Integer workbenchDefault;
|
@ApiModelProperty("是否删除")
|
private Integer isDeleted;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/vo/WorkstationWorkbenchVO$WorkstationWorkbenchVOBuilder.class */
|
public static class WorkstationWorkbenchVOBuilder {
|
private Long id;
|
private Long workstationId;
|
private String workstationCode;
|
private String workstationName;
|
private Integer deviceType;
|
private Integer properties;
|
private Integer sort;
|
private String name;
|
private Integer workbenchDefault;
|
private Integer isDeleted;
|
|
WorkstationWorkbenchVOBuilder() {
|
}
|
|
public WorkstationWorkbenchVOBuilder id(final Long id) {
|
this.id = id;
|
return this;
|
}
|
|
public WorkstationWorkbenchVOBuilder workstationId(final Long workstationId) {
|
this.workstationId = workstationId;
|
return this;
|
}
|
|
public WorkstationWorkbenchVOBuilder workstationCode(final String workstationCode) {
|
this.workstationCode = workstationCode;
|
return this;
|
}
|
|
public WorkstationWorkbenchVOBuilder workstationName(final String workstationName) {
|
this.workstationName = workstationName;
|
return this;
|
}
|
|
public WorkstationWorkbenchVOBuilder deviceType(final Integer deviceType) {
|
this.deviceType = deviceType;
|
return this;
|
}
|
|
public WorkstationWorkbenchVOBuilder properties(final Integer properties) {
|
this.properties = properties;
|
return this;
|
}
|
|
public WorkstationWorkbenchVOBuilder sort(final Integer sort) {
|
this.sort = sort;
|
return this;
|
}
|
|
public WorkstationWorkbenchVOBuilder name(final String name) {
|
this.name = name;
|
return this;
|
}
|
|
public WorkstationWorkbenchVOBuilder workbenchDefault(final Integer workbenchDefault) {
|
this.workbenchDefault = workbenchDefault;
|
return this;
|
}
|
|
public WorkstationWorkbenchVOBuilder isDeleted(final Integer isDeleted) {
|
this.isDeleted = isDeleted;
|
return this;
|
}
|
|
public WorkstationWorkbenchVO build() {
|
return new WorkstationWorkbenchVO(this.id, this.workstationId, this.workstationCode, this.workstationName, this.deviceType, this.properties, this.sort, this.name, this.workbenchDefault, this.isDeleted);
|
}
|
|
public String toString() {
|
return "WorkstationWorkbenchVO.WorkstationWorkbenchVOBuilder(id=" + this.id + ", workstationId=" + this.workstationId + ", workstationCode=" + this.workstationCode + ", workstationName=" + this.workstationName + ", deviceType=" + this.deviceType + ", properties=" + this.properties + ", sort=" + this.sort + ", name=" + this.name + ", workbenchDefault=" + this.workbenchDefault + ", isDeleted=" + this.isDeleted + ")";
|
}
|
}
|
|
public void setId(final Long id) {
|
this.id = id;
|
}
|
|
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 setDeviceType(final Integer deviceType) {
|
this.deviceType = deviceType;
|
}
|
|
public void setProperties(final Integer properties) {
|
this.properties = properties;
|
}
|
|
public void setSort(final Integer sort) {
|
this.sort = sort;
|
}
|
|
public void setName(final String name) {
|
this.name = name;
|
}
|
|
public void setWorkbenchDefault(final Integer workbenchDefault) {
|
this.workbenchDefault = workbenchDefault;
|
}
|
|
public void setIsDeleted(final Integer isDeleted) {
|
this.isDeleted = isDeleted;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof WorkstationWorkbenchVO) {
|
WorkstationWorkbenchVO other = (WorkstationWorkbenchVO) 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$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$deviceType = getDeviceType();
|
Object other$deviceType = other.getDeviceType();
|
if (this$deviceType == null) {
|
if (other$deviceType != null) {
|
return false;
|
}
|
} else if (!this$deviceType.equals(other$deviceType)) {
|
return false;
|
}
|
Object this$properties = getProperties();
|
Object other$properties = other.getProperties();
|
if (this$properties == null) {
|
if (other$properties != null) {
|
return false;
|
}
|
} else if (!this$properties.equals(other$properties)) {
|
return false;
|
}
|
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$workbenchDefault = getWorkbenchDefault();
|
Object other$workbenchDefault = other.getWorkbenchDefault();
|
if (this$workbenchDefault == null) {
|
if (other$workbenchDefault != null) {
|
return false;
|
}
|
} else if (!this$workbenchDefault.equals(other$workbenchDefault)) {
|
return false;
|
}
|
Object this$isDeleted = getIsDeleted();
|
Object other$isDeleted = other.getIsDeleted();
|
if (this$isDeleted == null) {
|
if (other$isDeleted != null) {
|
return false;
|
}
|
} else if (!this$isDeleted.equals(other$isDeleted)) {
|
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$name = getName();
|
Object other$name = other.getName();
|
return this$name == null ? other$name == null : this$name.equals(other$name);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof WorkstationWorkbenchVO;
|
}
|
|
public int hashCode() {
|
Object $id = getId();
|
int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
|
Object $workstationId = getWorkstationId();
|
int result2 = (result * 59) + ($workstationId == null ? 43 : $workstationId.hashCode());
|
Object $deviceType = getDeviceType();
|
int result3 = (result2 * 59) + ($deviceType == null ? 43 : $deviceType.hashCode());
|
Object $properties = getProperties();
|
int result4 = (result3 * 59) + ($properties == null ? 43 : $properties.hashCode());
|
Object $sort = getSort();
|
int result5 = (result4 * 59) + ($sort == null ? 43 : $sort.hashCode());
|
Object $workbenchDefault = getWorkbenchDefault();
|
int result6 = (result5 * 59) + ($workbenchDefault == null ? 43 : $workbenchDefault.hashCode());
|
Object $isDeleted = getIsDeleted();
|
int result7 = (result6 * 59) + ($isDeleted == null ? 43 : $isDeleted.hashCode());
|
Object $workstationCode = getWorkstationCode();
|
int result8 = (result7 * 59) + ($workstationCode == null ? 43 : $workstationCode.hashCode());
|
Object $workstationName = getWorkstationName();
|
int result9 = (result8 * 59) + ($workstationName == null ? 43 : $workstationName.hashCode());
|
Object $name = getName();
|
return (result9 * 59) + ($name == null ? 43 : $name.hashCode());
|
}
|
|
public String toString() {
|
return "WorkstationWorkbenchVO(id=" + getId() + ", workstationId=" + getWorkstationId() + ", workstationCode=" + getWorkstationCode() + ", workstationName=" + getWorkstationName() + ", deviceType=" + getDeviceType() + ", properties=" + getProperties() + ", sort=" + getSort() + ", name=" + getName() + ", workbenchDefault=" + getWorkbenchDefault() + ", isDeleted=" + getIsDeleted() + ")";
|
}
|
|
public static WorkstationWorkbenchVOBuilder builder() {
|
return new WorkstationWorkbenchVOBuilder();
|
}
|
|
public WorkstationWorkbenchVO(final Long id, final Long workstationId, final String workstationCode, final String workstationName, final Integer deviceType, final Integer properties, final Integer sort, final String name, final Integer workbenchDefault, final Integer isDeleted) {
|
this.id = id;
|
this.workstationId = workstationId;
|
this.workstationCode = workstationCode;
|
this.workstationName = workstationName;
|
this.deviceType = deviceType;
|
this.properties = properties;
|
this.sort = sort;
|
this.name = name;
|
this.workbenchDefault = workbenchDefault;
|
this.isDeleted = isDeleted;
|
}
|
|
public WorkstationWorkbenchVO() {
|
}
|
|
public Long getId() {
|
return this.id;
|
}
|
|
public Long getWorkstationId() {
|
return this.workstationId;
|
}
|
|
public String getWorkstationCode() {
|
return this.workstationCode;
|
}
|
|
public String getWorkstationName() {
|
return this.workstationName;
|
}
|
|
public Integer getDeviceType() {
|
return this.deviceType;
|
}
|
|
public Integer getProperties() {
|
return this.properties;
|
}
|
|
public Integer getSort() {
|
return this.sort;
|
}
|
|
public String getName() {
|
return this.name;
|
}
|
|
public Integer getWorkbenchDefault() {
|
return this.workbenchDefault;
|
}
|
|
public Integer getIsDeleted() {
|
return this.isDeleted;
|
}
|
}
|