package com.qianwen.smartman.modules.cps.dto;
|
|
import io.swagger.annotations.ApiModelProperty;
|
import java.io.Serializable;
|
import java.util.List;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/dto/ProcessMainUpdateDTO.class */
|
public class ProcessMainUpdateDTO implements Serializable {
|
private static final long serialVersionUID = 4035640649769982933L;
|
@ApiModelProperty("主键id")
|
private Long id;
|
@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;
|
@ApiModelProperty("子序信息")
|
private List<ProcessNmUpdateDTO> childList;
|
|
public void setId(final Long id) {
|
this.id = id;
|
}
|
|
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 void setChildList(final List<ProcessNmUpdateDTO> childList) {
|
this.childList = childList;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof ProcessMainUpdateDTO) {
|
ProcessMainUpdateDTO other = (ProcessMainUpdateDTO) 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$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$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();
|
if (this$yCoordinate == null) {
|
if (other$yCoordinate != null) {
|
return false;
|
}
|
} else if (!this$yCoordinate.equals(other$yCoordinate)) {
|
return false;
|
}
|
Object this$childList = getChildList();
|
Object other$childList = other.getChildList();
|
return this$childList == null ? other$childList == null : this$childList.equals(other$childList);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof ProcessMainUpdateDTO;
|
}
|
|
public int hashCode() {
|
Object $id = getId();
|
int result = (1 * 59) + ($id == null ? 43 : $id.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 $targetId = getTargetId();
|
int result4 = (result3 * 59) + ($targetId == null ? 43 : $targetId.hashCode());
|
Object $sourceId = getSourceId();
|
int result5 = (result4 * 59) + ($sourceId == null ? 43 : $sourceId.hashCode());
|
Object $xCoordinate = getXCoordinate();
|
int result6 = (result5 * 59) + ($xCoordinate == null ? 43 : $xCoordinate.hashCode());
|
Object $yCoordinate = getYCoordinate();
|
int result7 = (result6 * 59) + ($yCoordinate == null ? 43 : $yCoordinate.hashCode());
|
Object $childList = getChildList();
|
return (result7 * 59) + ($childList == null ? 43 : $childList.hashCode());
|
}
|
|
public String toString() {
|
return "ProcessMainUpdateDTO(id=" + getId() + ", sort=" + getSort() + ", targetId=" + getTargetId() + ", sourceId=" + getSourceId() + ", xCoordinate=" + getXCoordinate() + ", yCoordinate=" + getYCoordinate() + ", height=" + getHeight() + ", childList=" + getChildList() + ")";
|
}
|
|
public Long getId() {
|
return this.id;
|
}
|
|
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;
|
}
|
|
public List<ProcessNmUpdateDTO> getChildList() {
|
return this.childList;
|
}
|
}
|