package com.qianwen.smartman.modules.cps.dto;
|
|
import io.swagger.annotations.ApiModelProperty;
|
import java.io.Serializable;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/dto/MainProcessSaveDTO.class */
|
public class MainProcessSaveDTO implements Serializable {
|
private static final long serialVersionUID = -3288821415413216308L;
|
@ApiModelProperty("版本id")
|
private Long versionId;
|
@ApiModelProperty("主序工序编号")
|
private String mainProcessCode;
|
@ApiModelProperty("主序工序名称")
|
private String mainProcessName;
|
@ApiModelProperty("顺序")
|
private Integer sort;
|
@ApiModelProperty("目标ID")
|
private String targetId;
|
@ApiModelProperty("资源ID")
|
private String sourceId;
|
@ApiModelProperty("x坐标")
|
private String xCoordinate;
|
@ApiModelProperty("y坐标")
|
private String yCoordinate;
|
@ApiModelProperty("主序的高度")
|
private Integer height;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/dto/MainProcessSaveDTO$MainProcessSaveDTOBuilder.class */
|
public static class MainProcessSaveDTOBuilder {
|
private Long versionId;
|
private String mainProcessCode;
|
private String mainProcessName;
|
private Integer sort;
|
private String targetId;
|
private String sourceId;
|
private String xCoordinate;
|
private String yCoordinate;
|
private Integer height;
|
|
MainProcessSaveDTOBuilder() {
|
}
|
|
public MainProcessSaveDTOBuilder versionId(final Long versionId) {
|
this.versionId = versionId;
|
return this;
|
}
|
|
public MainProcessSaveDTOBuilder mainProcessCode(final String mainProcessCode) {
|
this.mainProcessCode = mainProcessCode;
|
return this;
|
}
|
|
public MainProcessSaveDTOBuilder mainProcessName(final String mainProcessName) {
|
this.mainProcessName = mainProcessName;
|
return this;
|
}
|
|
public MainProcessSaveDTOBuilder sort(final Integer sort) {
|
this.sort = sort;
|
return this;
|
}
|
|
public MainProcessSaveDTOBuilder targetId(final String targetId) {
|
this.targetId = targetId;
|
return this;
|
}
|
|
public MainProcessSaveDTOBuilder sourceId(final String sourceId) {
|
this.sourceId = sourceId;
|
return this;
|
}
|
|
public MainProcessSaveDTOBuilder xCoordinate(final String xCoordinate) {
|
this.xCoordinate = xCoordinate;
|
return this;
|
}
|
|
public MainProcessSaveDTOBuilder yCoordinate(final String yCoordinate) {
|
this.yCoordinate = yCoordinate;
|
return this;
|
}
|
|
public MainProcessSaveDTOBuilder height(final Integer height) {
|
this.height = height;
|
return this;
|
}
|
|
public MainProcessSaveDTO build() {
|
return new MainProcessSaveDTO(this.versionId, this.mainProcessCode, this.mainProcessName, this.sort, this.targetId, this.sourceId, this.xCoordinate, this.yCoordinate, this.height);
|
}
|
|
public String toString() {
|
return "MainProcessSaveDTO.MainProcessSaveDTOBuilder(versionId=" + this.versionId + ", mainProcessCode=" + this.mainProcessCode + ", mainProcessName=" + this.mainProcessName + ", sort=" + this.sort + ", targetId=" + this.targetId + ", sourceId=" + this.sourceId + ", xCoordinate=" + this.xCoordinate + ", yCoordinate=" + this.yCoordinate + ", height=" + this.height + ")";
|
}
|
}
|
|
public void setVersionId(final Long versionId) {
|
this.versionId = versionId;
|
}
|
|
public void setMainProcessCode(final String mainProcessCode) {
|
this.mainProcessCode = mainProcessCode;
|
}
|
|
public void setMainProcessName(final String mainProcessName) {
|
this.mainProcessName = mainProcessName;
|
}
|
|
public void setSort(final Integer sort) {
|
this.sort = sort;
|
}
|
|
public void setTargetId(final String targetId) {
|
this.targetId = targetId;
|
}
|
|
public void setSourceId(final String sourceId) {
|
this.sourceId = sourceId;
|
}
|
|
public void setXCoordinate(final String xCoordinate) {
|
this.xCoordinate = xCoordinate;
|
}
|
|
public void setYCoordinate(final String yCoordinate) {
|
this.yCoordinate = yCoordinate;
|
}
|
|
public void setHeight(final Integer height) {
|
this.height = height;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof MainProcessSaveDTO) {
|
MainProcessSaveDTO other = (MainProcessSaveDTO) o;
|
if (other.canEqual(this)) {
|
Object this$versionId = getVersionId();
|
Object other$versionId = other.getVersionId();
|
if (this$versionId == null) {
|
if (other$versionId != null) {
|
return false;
|
}
|
} else if (!this$versionId.equals(other$versionId)) {
|
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$height = getHeight();
|
Object other$height = other.getHeight();
|
if (this$height == null) {
|
if (other$height != null) {
|
return false;
|
}
|
} else if (!this$height.equals(other$height)) {
|
return false;
|
}
|
Object this$mainProcessCode = getMainProcessCode();
|
Object other$mainProcessCode = other.getMainProcessCode();
|
if (this$mainProcessCode == null) {
|
if (other$mainProcessCode != null) {
|
return false;
|
}
|
} else if (!this$mainProcessCode.equals(other$mainProcessCode)) {
|
return false;
|
}
|
Object this$mainProcessName = getMainProcessName();
|
Object other$mainProcessName = other.getMainProcessName();
|
if (this$mainProcessName == null) {
|
if (other$mainProcessName != null) {
|
return false;
|
}
|
} else if (!this$mainProcessName.equals(other$mainProcessName)) {
|
return false;
|
}
|
Object this$targetId = getTargetId();
|
Object other$targetId = other.getTargetId();
|
if (this$targetId == null) {
|
if (other$targetId != null) {
|
return false;
|
}
|
} else if (!this$targetId.equals(other$targetId)) {
|
return false;
|
}
|
Object this$sourceId = getSourceId();
|
Object other$sourceId = other.getSourceId();
|
if (this$sourceId == null) {
|
if (other$sourceId != null) {
|
return false;
|
}
|
} else if (!this$sourceId.equals(other$sourceId)) {
|
return false;
|
}
|
Object this$xCoordinate = getXCoordinate();
|
Object other$xCoordinate = other.getXCoordinate();
|
if (this$xCoordinate == null) {
|
if (other$xCoordinate != null) {
|
return false;
|
}
|
} else if (!this$xCoordinate.equals(other$xCoordinate)) {
|
return false;
|
}
|
Object this$yCoordinate = getYCoordinate();
|
Object other$yCoordinate = other.getYCoordinate();
|
return this$yCoordinate == null ? other$yCoordinate == null : this$yCoordinate.equals(other$yCoordinate);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof MainProcessSaveDTO;
|
}
|
|
public int hashCode() {
|
Object $versionId = getVersionId();
|
int result = (1 * 59) + ($versionId == null ? 43 : $versionId.hashCode());
|
Object $sort = getSort();
|
int result2 = (result * 59) + ($sort == null ? 43 : $sort.hashCode());
|
Object $height = getHeight();
|
int result3 = (result2 * 59) + ($height == null ? 43 : $height.hashCode());
|
Object $mainProcessCode = getMainProcessCode();
|
int result4 = (result3 * 59) + ($mainProcessCode == null ? 43 : $mainProcessCode.hashCode());
|
Object $mainProcessName = getMainProcessName();
|
int result5 = (result4 * 59) + ($mainProcessName == null ? 43 : $mainProcessName.hashCode());
|
Object $targetId = getTargetId();
|
int result6 = (result5 * 59) + ($targetId == null ? 43 : $targetId.hashCode());
|
Object $sourceId = getSourceId();
|
int result7 = (result6 * 59) + ($sourceId == null ? 43 : $sourceId.hashCode());
|
Object $xCoordinate = getXCoordinate();
|
int result8 = (result7 * 59) + ($xCoordinate == null ? 43 : $xCoordinate.hashCode());
|
Object $yCoordinate = getYCoordinate();
|
return (result8 * 59) + ($yCoordinate == null ? 43 : $yCoordinate.hashCode());
|
}
|
|
public String toString() {
|
return "MainProcessSaveDTO(versionId=" + getVersionId() + ", mainProcessCode=" + getMainProcessCode() + ", mainProcessName=" + getMainProcessName() + ", sort=" + getSort() + ", targetId=" + getTargetId() + ", sourceId=" + getSourceId() + ", xCoordinate=" + getXCoordinate() + ", yCoordinate=" + getYCoordinate() + ", height=" + getHeight() + ")";
|
}
|
|
public static MainProcessSaveDTOBuilder builder() {
|
return new MainProcessSaveDTOBuilder();
|
}
|
|
public MainProcessSaveDTO() {
|
}
|
|
public MainProcessSaveDTO(final Long versionId, final String mainProcessCode, final String mainProcessName, final Integer sort, final String targetId, final String sourceId, final String xCoordinate, final String yCoordinate, final Integer height) {
|
this.versionId = versionId;
|
this.mainProcessCode = mainProcessCode;
|
this.mainProcessName = mainProcessName;
|
this.sort = sort;
|
this.targetId = targetId;
|
this.sourceId = sourceId;
|
this.xCoordinate = xCoordinate;
|
this.yCoordinate = yCoordinate;
|
this.height = height;
|
}
|
|
public Long getVersionId() {
|
return this.versionId;
|
}
|
|
public String getMainProcessCode() {
|
return this.mainProcessCode;
|
}
|
|
public String getMainProcessName() {
|
return this.mainProcessName;
|
}
|
|
public Integer getSort() {
|
return this.sort;
|
}
|
|
public String getTargetId() {
|
return this.targetId;
|
}
|
|
public String getSourceId() {
|
return this.sourceId;
|
}
|
|
public String getXCoordinate() {
|
return this.xCoordinate;
|
}
|
|
public String getYCoordinate() {
|
return this.yCoordinate;
|
}
|
|
public Integer getHeight() {
|
return this.height;
|
}
|
}
|