package com.qianwen.smartman.modules.smis.vo;
|
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import java.io.Serializable;
|
|
@ApiModel(value = "ProductionCraftProcessVo对象", description = "工艺版本的工序流程")
|
public class ProductionCraftProcessDeleteVO implements Serializable {
|
@ApiModelProperty("目标ID")
|
private String targetId;
|
@ApiModelProperty("资源ID")
|
private String sourceId;
|
@ApiModelProperty(value = "主键", dataType = "java.lang.String")
|
private Long id;
|
@ApiModelProperty("x坐标")
|
private String xCoordinate;
|
@ApiModelProperty("y坐标")
|
private String yCoordinate;
|
|
|
public static class ProductionCraftProcessDeleteVOBuilder {
|
private String targetId;
|
private String sourceId;
|
private Long id;
|
private String xCoordinate;
|
private String yCoordinate;
|
|
ProductionCraftProcessDeleteVOBuilder() {
|
}
|
|
public ProductionCraftProcessDeleteVOBuilder targetId(final String targetId) {
|
this.targetId = targetId;
|
return this;
|
}
|
|
public ProductionCraftProcessDeleteVOBuilder sourceId(final String sourceId) {
|
this.sourceId = sourceId;
|
return this;
|
}
|
|
public ProductionCraftProcessDeleteVOBuilder id(final Long id) {
|
this.id = id;
|
return this;
|
}
|
|
public ProductionCraftProcessDeleteVOBuilder xCoordinate(final String xCoordinate) {
|
this.xCoordinate = xCoordinate;
|
return this;
|
}
|
|
public ProductionCraftProcessDeleteVOBuilder yCoordinate(final String yCoordinate) {
|
this.yCoordinate = yCoordinate;
|
return this;
|
}
|
|
public ProductionCraftProcessDeleteVO build() {
|
return new ProductionCraftProcessDeleteVO(this.targetId, this.sourceId, this.id, this.xCoordinate, this.yCoordinate);
|
}
|
|
public String toString() {
|
return "ProductionCraftProcessDeleteVO.ProductionCraftProcessDeleteVOBuilder(targetId=" + this.targetId + ", sourceId=" + this.sourceId + ", id=" + this.id + ", xCoordinate=" + this.xCoordinate + ", yCoordinate=" + this.yCoordinate + ")";
|
}
|
}
|
|
public void setTargetId(final String targetId) {
|
this.targetId = targetId;
|
}
|
|
public void setSourceId(final String sourceId) {
|
this.sourceId = sourceId;
|
}
|
|
public void setId(final Long id) {
|
this.id = id;
|
}
|
|
public void setXCoordinate(final String xCoordinate) {
|
this.xCoordinate = xCoordinate;
|
}
|
|
public void setYCoordinate(final String yCoordinate) {
|
this.yCoordinate = yCoordinate;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof ProductionCraftProcessDeleteVO) {
|
ProductionCraftProcessDeleteVO other = (ProductionCraftProcessDeleteVO) 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$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 ProductionCraftProcessDeleteVO;
|
}
|
|
public int hashCode() {
|
Object $id = getId();
|
int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
|
Object $targetId = getTargetId();
|
int result2 = (result * 59) + ($targetId == null ? 43 : $targetId.hashCode());
|
Object $sourceId = getSourceId();
|
int result3 = (result2 * 59) + ($sourceId == null ? 43 : $sourceId.hashCode());
|
Object $xCoordinate = getXCoordinate();
|
int result4 = (result3 * 59) + ($xCoordinate == null ? 43 : $xCoordinate.hashCode());
|
Object $yCoordinate = getYCoordinate();
|
return (result4 * 59) + ($yCoordinate == null ? 43 : $yCoordinate.hashCode());
|
}
|
|
public String toString() {
|
return "ProductionCraftProcessDeleteVO(targetId=" + getTargetId() + ", sourceId=" + getSourceId() + ", id=" + getId() + ", xCoordinate=" + getXCoordinate() + ", yCoordinate=" + getYCoordinate() + ")";
|
}
|
|
ProductionCraftProcessDeleteVO(final String targetId, final String sourceId, final Long id, final String xCoordinate, final String yCoordinate) {
|
this.targetId = targetId;
|
this.sourceId = sourceId;
|
this.id = id;
|
this.xCoordinate = xCoordinate;
|
this.yCoordinate = yCoordinate;
|
}
|
|
public static ProductionCraftProcessDeleteVOBuilder builder() {
|
return new ProductionCraftProcessDeleteVOBuilder();
|
}
|
|
public String getTargetId() {
|
return this.targetId;
|
}
|
|
public String getSourceId() {
|
return this.sourceId;
|
}
|
|
public Long getId() {
|
return this.id;
|
}
|
|
public String getXCoordinate() {
|
return this.xCoordinate;
|
}
|
|
public String getYCoordinate() {
|
return this.yCoordinate;
|
}
|
}
|