package com.qianwen.smartman.modules.trace.entity; import com.baomidou.mybatisplus.annotation.FieldStrategy; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableName; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import com.qianwen.core.mp.base.BaseEntity; @ApiModel(value = "TraceFlowSettings对象", description = "流程维护") @TableName("blade_trace_flow_settings") /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/trace/entity/TraceFlowSettings.class */ public class TraceFlowSettings extends BaseEntity { private static final long serialVersionUID = 1; @ApiModelProperty("所属租户") private String tenantId; @ApiModelProperty("流程编号") private String code; @ApiModelProperty("流程名称") private String name; @ApiModelProperty("流程顺序") private Integer flowSeq; @ApiModelProperty("工位类型") private Integer stationType; @ApiModelProperty("工位组id") private Long workstationGroupId; @ApiModelProperty("上一流程id") private Long preFlowId; @ApiModelProperty("下一流程id") private Long nextFlowId; @ApiModelProperty("流程类别") private Integer flowType; @ApiModelProperty("结束流程方式") private Integer triggerEndFlowStyle; @ApiModelProperty("按质量结果下线") private String qualityResultOffline; @TableField(updateStrategy = FieldStrategy.IGNORED) @ApiModelProperty("质量责任归属到特定流程") private Long qualityMakerFlowId; public TraceFlowSettings setTenantId(final String tenantId) { this.tenantId = tenantId; return this; } public TraceFlowSettings setCode(final String code) { this.code = code; return this; } public TraceFlowSettings setName(final String name) { this.name = name; return this; } public TraceFlowSettings setFlowSeq(final Integer flowSeq) { this.flowSeq = flowSeq; return this; } public TraceFlowSettings setStationType(final Integer stationType) { this.stationType = stationType; return this; } public TraceFlowSettings setWorkstationGroupId(final Long workstationGroupId) { this.workstationGroupId = workstationGroupId; return this; } public TraceFlowSettings setPreFlowId(final Long preFlowId) { this.preFlowId = preFlowId; return this; } public TraceFlowSettings setNextFlowId(final Long nextFlowId) { this.nextFlowId = nextFlowId; return this; } public TraceFlowSettings setFlowType(final Integer flowType) { this.flowType = flowType; return this; } public TraceFlowSettings setTriggerEndFlowStyle(final Integer triggerEndFlowStyle) { this.triggerEndFlowStyle = triggerEndFlowStyle; return this; } public TraceFlowSettings setQualityResultOffline(final String qualityResultOffline) { this.qualityResultOffline = qualityResultOffline; return this; } public TraceFlowSettings setQualityMakerFlowId(final Long qualityMakerFlowId) { this.qualityMakerFlowId = qualityMakerFlowId; return this; } public String toString() { return "TraceFlowSettings(tenantId=" + getTenantId() + ", code=" + getCode() + ", name=" + getName() + ", flowSeq=" + getFlowSeq() + ", stationType=" + getStationType() + ", workstationGroupId=" + getWorkstationGroupId() + ", preFlowId=" + getPreFlowId() + ", nextFlowId=" + getNextFlowId() + ", flowType=" + getFlowType() + ", triggerEndFlowStyle=" + getTriggerEndFlowStyle() + ", qualityResultOffline=" + getQualityResultOffline() + ", qualityMakerFlowId=" + getQualityMakerFlowId() + ")"; } public boolean equals(final Object o) { if (o == this) { return true; } if (o instanceof TraceFlowSettings) { TraceFlowSettings other = (TraceFlowSettings) o; if (other.canEqual(this) && super.equals(o)) { 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$tenantId = getTenantId(); Object other$tenantId = other.getTenantId(); if (this$tenantId == null) { if (other$tenantId != null) { return false; } } else if (!this$tenantId.equals(other$tenantId)) { 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$qualityResultOffline = getQualityResultOffline(); Object other$qualityResultOffline = other.getQualityResultOffline(); return this$qualityResultOffline == null ? other$qualityResultOffline == null : this$qualityResultOffline.equals(other$qualityResultOffline); } return false; } return false; } protected boolean canEqual(final Object other) { return other instanceof TraceFlowSettings; } public int hashCode() { int result = super.hashCode(); Object $flowSeq = getFlowSeq(); int result2 = (result * 59) + ($flowSeq == null ? 43 : $flowSeq.hashCode()); Object $stationType = getStationType(); int result3 = (result2 * 59) + ($stationType == null ? 43 : $stationType.hashCode()); Object $workstationGroupId = getWorkstationGroupId(); int result4 = (result3 * 59) + ($workstationGroupId == null ? 43 : $workstationGroupId.hashCode()); Object $preFlowId = getPreFlowId(); int result5 = (result4 * 59) + ($preFlowId == null ? 43 : $preFlowId.hashCode()); Object $nextFlowId = getNextFlowId(); int result6 = (result5 * 59) + ($nextFlowId == null ? 43 : $nextFlowId.hashCode()); Object $flowType = getFlowType(); int result7 = (result6 * 59) + ($flowType == null ? 43 : $flowType.hashCode()); Object $triggerEndFlowStyle = getTriggerEndFlowStyle(); int result8 = (result7 * 59) + ($triggerEndFlowStyle == null ? 43 : $triggerEndFlowStyle.hashCode()); Object $qualityMakerFlowId = getQualityMakerFlowId(); int result9 = (result8 * 59) + ($qualityMakerFlowId == null ? 43 : $qualityMakerFlowId.hashCode()); Object $tenantId = getTenantId(); int result10 = (result9 * 59) + ($tenantId == null ? 43 : $tenantId.hashCode()); Object $code = getCode(); int result11 = (result10 * 59) + ($code == null ? 43 : $code.hashCode()); Object $name = getName(); int result12 = (result11 * 59) + ($name == null ? 43 : $name.hashCode()); Object $qualityResultOffline = getQualityResultOffline(); return (result12 * 59) + ($qualityResultOffline == null ? 43 : $qualityResultOffline.hashCode()); } public String getTenantId() { return this.tenantId; } 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 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; } }