package com.qianwen.smartman.modules.trace.vo;
|
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import java.io.Serializable;
|
import javax.validation.constraints.Size;
|
|
@ApiModel(value = "TraceFlowSettingsVo对象", description = "流程维护")
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/trace/vo/TraceFlowSettingsVO.class */
|
public class TraceFlowSettingsVO implements Serializable {
|
@ApiModelProperty("流程编号")
|
@Size(max = 40, message = "流程编号长度不能超过40")
|
private String code;
|
@ApiModelProperty("流程名称")
|
@Size(max = 100, message = "流程名称长度不能超过100")
|
private String name;
|
@ApiModelProperty("流程顺序")
|
private Integer flowSeq;
|
@ApiModelProperty("工位类型")
|
private Integer stationType;
|
@ApiModelProperty(value = "工位组id", dataType = "java.lang.String")
|
private Long workstationGroupId;
|
@ApiModelProperty(value = "工位组id", dataType = "java.lang.String")
|
private String workstationGroupName;
|
@ApiModelProperty(value = "上一流程id", dataType = "java.lang.String")
|
private Long preFlowId;
|
@ApiModelProperty(value = "下一流程id", dataType = "java.lang.String")
|
private Long nextFlowId;
|
@ApiModelProperty("流程类别")
|
private Integer flowType;
|
@ApiModelProperty("结束流程方式")
|
private Integer triggerEndFlowStyle;
|
@ApiModelProperty("按质量结果下线")
|
private String qualityResultOffline;
|
@ApiModelProperty(value = "质量责任归属到特定流程", dataType = "java.lang.String")
|
private Long qualityMakerFlowId;
|
@ApiModelProperty("质量责任归属到特定流程名称")
|
private String qualityMakerFlowName;
|
@ApiModelProperty(value = "id", dataType = "java.lang.String")
|
private Long id;
|
|
public void setCode(final String code) {
|
this.code = code;
|
}
|
|
public void setName(final String name) {
|
this.name = name;
|
}
|
|
public void setFlowSeq(final Integer flowSeq) {
|
this.flowSeq = flowSeq;
|
}
|
|
public void setStationType(final Integer stationType) {
|
this.stationType = stationType;
|
}
|
|
public void setWorkstationGroupId(final Long workstationGroupId) {
|
this.workstationGroupId = workstationGroupId;
|
}
|
|
public void setWorkstationGroupName(final String workstationGroupName) {
|
this.workstationGroupName = workstationGroupName;
|
}
|
|
public void setPreFlowId(final Long preFlowId) {
|
this.preFlowId = preFlowId;
|
}
|
|
public void setNextFlowId(final Long nextFlowId) {
|
this.nextFlowId = nextFlowId;
|
}
|
|
public void setFlowType(final Integer flowType) {
|
this.flowType = flowType;
|
}
|
|
public void setTriggerEndFlowStyle(final Integer triggerEndFlowStyle) {
|
this.triggerEndFlowStyle = triggerEndFlowStyle;
|
}
|
|
public void setQualityResultOffline(final String qualityResultOffline) {
|
this.qualityResultOffline = qualityResultOffline;
|
}
|
|
public void setQualityMakerFlowId(final Long qualityMakerFlowId) {
|
this.qualityMakerFlowId = qualityMakerFlowId;
|
}
|
|
public void setQualityMakerFlowName(final String qualityMakerFlowName) {
|
this.qualityMakerFlowName = qualityMakerFlowName;
|
}
|
|
public void setId(final Long id) {
|
this.id = id;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof TraceFlowSettingsVO) {
|
TraceFlowSettingsVO other = (TraceFlowSettingsVO) o;
|
if (other.canEqual(this)) {
|
Object this$flowSeq = getFlowSeq();
|
Object other$flowSeq = other.getFlowSeq();
|
if (this$flowSeq == null) {
|
if (other$flowSeq != null) {
|
return false;
|
}
|
} else if (!this$flowSeq.equals(other$flowSeq)) {
|
return false;
|
}
|
Object this$stationType = getStationType();
|
Object other$stationType = other.getStationType();
|
if (this$stationType == null) {
|
if (other$stationType != null) {
|
return false;
|
}
|
} else if (!this$stationType.equals(other$stationType)) {
|
return false;
|
}
|
Object this$workstationGroupId = getWorkstationGroupId();
|
Object other$workstationGroupId = other.getWorkstationGroupId();
|
if (this$workstationGroupId == null) {
|
if (other$workstationGroupId != null) {
|
return false;
|
}
|
} else if (!this$workstationGroupId.equals(other$workstationGroupId)) {
|
return false;
|
}
|
Object this$preFlowId = getPreFlowId();
|
Object other$preFlowId = other.getPreFlowId();
|
if (this$preFlowId == null) {
|
if (other$preFlowId != null) {
|
return false;
|
}
|
} else if (!this$preFlowId.equals(other$preFlowId)) {
|
return false;
|
}
|
Object this$nextFlowId = getNextFlowId();
|
Object other$nextFlowId = other.getNextFlowId();
|
if (this$nextFlowId == null) {
|
if (other$nextFlowId != null) {
|
return false;
|
}
|
} else if (!this$nextFlowId.equals(other$nextFlowId)) {
|
return false;
|
}
|
Object this$flowType = getFlowType();
|
Object other$flowType = other.getFlowType();
|
if (this$flowType == null) {
|
if (other$flowType != null) {
|
return false;
|
}
|
} else if (!this$flowType.equals(other$flowType)) {
|
return false;
|
}
|
Object this$triggerEndFlowStyle = getTriggerEndFlowStyle();
|
Object other$triggerEndFlowStyle = other.getTriggerEndFlowStyle();
|
if (this$triggerEndFlowStyle == null) {
|
if (other$triggerEndFlowStyle != null) {
|
return false;
|
}
|
} else if (!this$triggerEndFlowStyle.equals(other$triggerEndFlowStyle)) {
|
return false;
|
}
|
Object this$qualityMakerFlowId = getQualityMakerFlowId();
|
Object other$qualityMakerFlowId = other.getQualityMakerFlowId();
|
if (this$qualityMakerFlowId == null) {
|
if (other$qualityMakerFlowId != null) {
|
return false;
|
}
|
} else if (!this$qualityMakerFlowId.equals(other$qualityMakerFlowId)) {
|
return false;
|
}
|
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$code = getCode();
|
Object other$code = other.getCode();
|
if (this$code == null) {
|
if (other$code != null) {
|
return false;
|
}
|
} else if (!this$code.equals(other$code)) {
|
return false;
|
}
|
Object this$name = getName();
|
Object other$name = other.getName();
|
if (this$name == null) {
|
if (other$name != null) {
|
return false;
|
}
|
} else if (!this$name.equals(other$name)) {
|
return false;
|
}
|
Object this$workstationGroupName = getWorkstationGroupName();
|
Object other$workstationGroupName = other.getWorkstationGroupName();
|
if (this$workstationGroupName == null) {
|
if (other$workstationGroupName != null) {
|
return false;
|
}
|
} else if (!this$workstationGroupName.equals(other$workstationGroupName)) {
|
return false;
|
}
|
Object this$qualityResultOffline = getQualityResultOffline();
|
Object other$qualityResultOffline = other.getQualityResultOffline();
|
if (this$qualityResultOffline == null) {
|
if (other$qualityResultOffline != null) {
|
return false;
|
}
|
} else if (!this$qualityResultOffline.equals(other$qualityResultOffline)) {
|
return false;
|
}
|
Object this$qualityMakerFlowName = getQualityMakerFlowName();
|
Object other$qualityMakerFlowName = other.getQualityMakerFlowName();
|
return this$qualityMakerFlowName == null ? other$qualityMakerFlowName == null : this$qualityMakerFlowName.equals(other$qualityMakerFlowName);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof TraceFlowSettingsVO;
|
}
|
|
public int hashCode() {
|
Object $flowSeq = getFlowSeq();
|
int result = (1 * 59) + ($flowSeq == null ? 43 : $flowSeq.hashCode());
|
Object $stationType = getStationType();
|
int result2 = (result * 59) + ($stationType == null ? 43 : $stationType.hashCode());
|
Object $workstationGroupId = getWorkstationGroupId();
|
int result3 = (result2 * 59) + ($workstationGroupId == null ? 43 : $workstationGroupId.hashCode());
|
Object $preFlowId = getPreFlowId();
|
int result4 = (result3 * 59) + ($preFlowId == null ? 43 : $preFlowId.hashCode());
|
Object $nextFlowId = getNextFlowId();
|
int result5 = (result4 * 59) + ($nextFlowId == null ? 43 : $nextFlowId.hashCode());
|
Object $flowType = getFlowType();
|
int result6 = (result5 * 59) + ($flowType == null ? 43 : $flowType.hashCode());
|
Object $triggerEndFlowStyle = getTriggerEndFlowStyle();
|
int result7 = (result6 * 59) + ($triggerEndFlowStyle == null ? 43 : $triggerEndFlowStyle.hashCode());
|
Object $qualityMakerFlowId = getQualityMakerFlowId();
|
int result8 = (result7 * 59) + ($qualityMakerFlowId == null ? 43 : $qualityMakerFlowId.hashCode());
|
Object $id = getId();
|
int result9 = (result8 * 59) + ($id == null ? 43 : $id.hashCode());
|
Object $code = getCode();
|
int result10 = (result9 * 59) + ($code == null ? 43 : $code.hashCode());
|
Object $name = getName();
|
int result11 = (result10 * 59) + ($name == null ? 43 : $name.hashCode());
|
Object $workstationGroupName = getWorkstationGroupName();
|
int result12 = (result11 * 59) + ($workstationGroupName == null ? 43 : $workstationGroupName.hashCode());
|
Object $qualityResultOffline = getQualityResultOffline();
|
int result13 = (result12 * 59) + ($qualityResultOffline == null ? 43 : $qualityResultOffline.hashCode());
|
Object $qualityMakerFlowName = getQualityMakerFlowName();
|
return (result13 * 59) + ($qualityMakerFlowName == null ? 43 : $qualityMakerFlowName.hashCode());
|
}
|
|
public String toString() {
|
return "TraceFlowSettingsVO(code=" + getCode() + ", name=" + getName() + ", flowSeq=" + getFlowSeq() + ", stationType=" + getStationType() + ", workstationGroupId=" + getWorkstationGroupId() + ", workstationGroupName=" + getWorkstationGroupName() + ", preFlowId=" + getPreFlowId() + ", nextFlowId=" + getNextFlowId() + ", flowType=" + getFlowType() + ", triggerEndFlowStyle=" + getTriggerEndFlowStyle() + ", qualityResultOffline=" + getQualityResultOffline() + ", qualityMakerFlowId=" + getQualityMakerFlowId() + ", qualityMakerFlowName=" + getQualityMakerFlowName() + ", id=" + getId() + ")";
|
}
|
|
public String getCode() {
|
return this.code;
|
}
|
|
public String getName() {
|
return this.name;
|
}
|
|
public Integer getFlowSeq() {
|
return this.flowSeq;
|
}
|
|
public Integer getStationType() {
|
return this.stationType;
|
}
|
|
public Long getWorkstationGroupId() {
|
return this.workstationGroupId;
|
}
|
|
public String getWorkstationGroupName() {
|
return this.workstationGroupName;
|
}
|
|
public Long getPreFlowId() {
|
return this.preFlowId;
|
}
|
|
public Long getNextFlowId() {
|
return this.nextFlowId;
|
}
|
|
public Integer getFlowType() {
|
return this.flowType;
|
}
|
|
public Integer getTriggerEndFlowStyle() {
|
return this.triggerEndFlowStyle;
|
}
|
|
public String getQualityResultOffline() {
|
return this.qualityResultOffline;
|
}
|
|
public Long getQualityMakerFlowId() {
|
return this.qualityMakerFlowId;
|
}
|
|
public String getQualityMakerFlowName() {
|
return this.qualityMakerFlowName;
|
}
|
|
public Long getId() {
|
return this.id;
|
}
|
}
|