package com.qianwen.smartman.modules.coproduction.vo;
|
|
import io.swagger.annotations.ApiModelProperty;
|
import javax.validation.constraints.NotBlank;
|
import javax.validation.constraints.NotNull;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/coproduction/vo/OrderProcessRelationQueryVO.class */
|
public class OrderProcessRelationQueryVO {
|
@NotNull(message = "工艺id不能为空")
|
@ApiModelProperty("工艺id")
|
private Long craftId;
|
@NotNull(message = "工艺版本id不能为空")
|
@ApiModelProperty("工艺版本id")
|
private Long craftVersionId;
|
@NotBlank(message = "工序编号不能为空")
|
@ApiModelProperty("工序编号")
|
private String processCode;
|
@NotNull(message = "工序顺序不能为空")
|
@ApiModelProperty("工序顺序")
|
private Integer sort;
|
|
public void setCraftId(final Long craftId) {
|
this.craftId = craftId;
|
}
|
|
public void setCraftVersionId(final Long craftVersionId) {
|
this.craftVersionId = craftVersionId;
|
}
|
|
public void setProcessCode(final String processCode) {
|
this.processCode = processCode;
|
}
|
|
public void setSort(final Integer sort) {
|
this.sort = sort;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof OrderProcessRelationQueryVO) {
|
OrderProcessRelationQueryVO other = (OrderProcessRelationQueryVO) o;
|
if (other.canEqual(this)) {
|
Object this$craftId = getCraftId();
|
Object other$craftId = other.getCraftId();
|
if (this$craftId == null) {
|
if (other$craftId != null) {
|
return false;
|
}
|
} else if (!this$craftId.equals(other$craftId)) {
|
return false;
|
}
|
Object this$craftVersionId = getCraftVersionId();
|
Object other$craftVersionId = other.getCraftVersionId();
|
if (this$craftVersionId == null) {
|
if (other$craftVersionId != null) {
|
return false;
|
}
|
} else if (!this$craftVersionId.equals(other$craftVersionId)) {
|
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$processCode = getProcessCode();
|
Object other$processCode = other.getProcessCode();
|
return this$processCode == null ? other$processCode == null : this$processCode.equals(other$processCode);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof OrderProcessRelationQueryVO;
|
}
|
|
public int hashCode() {
|
Object $craftId = getCraftId();
|
int result = (1 * 59) + ($craftId == null ? 43 : $craftId.hashCode());
|
Object $craftVersionId = getCraftVersionId();
|
int result2 = (result * 59) + ($craftVersionId == null ? 43 : $craftVersionId.hashCode());
|
Object $sort = getSort();
|
int result3 = (result2 * 59) + ($sort == null ? 43 : $sort.hashCode());
|
Object $processCode = getProcessCode();
|
return (result3 * 59) + ($processCode == null ? 43 : $processCode.hashCode());
|
}
|
|
public String toString() {
|
return "OrderProcessRelationQueryVO(craftId=" + getCraftId() + ", craftVersionId=" + getCraftVersionId() + ", processCode=" + getProcessCode() + ", sort=" + getSort() + ")";
|
}
|
|
public Long getCraftId() {
|
return this.craftId;
|
}
|
|
public Long getCraftVersionId() {
|
return this.craftVersionId;
|
}
|
|
public String getProcessCode() {
|
return this.processCode;
|
}
|
|
public Integer getSort() {
|
return this.sort;
|
}
|
}
|