package com.qianwen.smartman.modules.cps.entity;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import java.io.Serializable;
|
|
@TableName("blade_process_association")
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/entity/ProcessAssociation.class */
|
public class ProcessAssociation implements Serializable {
|
private static final long serialVersionUID = 1;
|
@TableId(value = "id", type = IdType.ASSIGN_ID)
|
private Long id;
|
private Integer type;
|
private Long bizId;
|
private Long processId;
|
|
public void setId(final Long id) {
|
this.id = id;
|
}
|
|
public void setType(final Integer type) {
|
this.type = type;
|
}
|
|
public void setBizId(final Long bizId) {
|
this.bizId = bizId;
|
}
|
|
public void setProcessId(final Long processId) {
|
this.processId = processId;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof ProcessAssociation) {
|
ProcessAssociation other = (ProcessAssociation) 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$type = getType();
|
Object other$type = other.getType();
|
if (this$type == null) {
|
if (other$type != null) {
|
return false;
|
}
|
} else if (!this$type.equals(other$type)) {
|
return false;
|
}
|
Object this$bizId = getBizId();
|
Object other$bizId = other.getBizId();
|
if (this$bizId == null) {
|
if (other$bizId != null) {
|
return false;
|
}
|
} else if (!this$bizId.equals(other$bizId)) {
|
return false;
|
}
|
Object this$processId = getProcessId();
|
Object other$processId = other.getProcessId();
|
return this$processId == null ? other$processId == null : this$processId.equals(other$processId);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof ProcessAssociation;
|
}
|
|
public int hashCode() {
|
Object $id = getId();
|
int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
|
Object $type = getType();
|
int result2 = (result * 59) + ($type == null ? 43 : $type.hashCode());
|
Object $bizId = getBizId();
|
int result3 = (result2 * 59) + ($bizId == null ? 43 : $bizId.hashCode());
|
Object $processId = getProcessId();
|
return (result3 * 59) + ($processId == null ? 43 : $processId.hashCode());
|
}
|
|
public String toString() {
|
return "ProcessAssociation(id=" + getId() + ", type=" + getType() + ", bizId=" + getBizId() + ", processId=" + getProcessId() + ")";
|
}
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/entity/ProcessAssociation$ProcessAssociationBuilder.class */
|
public static class ProcessAssociationBuilder {
|
private Long id;
|
private Integer type;
|
private Long bizId;
|
private Long processId;
|
|
ProcessAssociationBuilder() {
|
}
|
|
public ProcessAssociationBuilder id(final Long id) {
|
this.id = id;
|
return this;
|
}
|
|
public ProcessAssociationBuilder type(final Integer type) {
|
this.type = type;
|
return this;
|
}
|
|
public ProcessAssociationBuilder bizId(final Long bizId) {
|
this.bizId = bizId;
|
return this;
|
}
|
|
public ProcessAssociationBuilder processId(final Long processId) {
|
this.processId = processId;
|
return this;
|
}
|
|
public ProcessAssociation build() {
|
return new ProcessAssociation(this.id, this.type, this.bizId, this.processId);
|
}
|
|
public String toString() {
|
return "ProcessAssociation.ProcessAssociationBuilder(id=" + this.id + ", type=" + this.type + ", bizId=" + this.bizId + ", processId=" + this.processId + ")";
|
}
|
}
|
|
public static ProcessAssociationBuilder builder() {
|
return new ProcessAssociationBuilder();
|
}
|
|
public ProcessAssociation(final Long id, final Integer type, final Long bizId, final Long processId) {
|
this.id = id;
|
this.type = type;
|
this.bizId = bizId;
|
this.processId = processId;
|
}
|
|
public ProcessAssociation() {
|
}
|
|
public Long getId() {
|
return this.id;
|
}
|
|
public Integer getType() {
|
return this.type;
|
}
|
|
public Long getBizId() {
|
return this.bizId;
|
}
|
|
public Long getProcessId() {
|
return this.processId;
|
}
|
}
|