package com.qianwen.smartman.modules.cps.entity;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.qianwen.core.tenant.mp.TenantEntity;
|
|
@TableName(CraftVersionLine.TABLE_NAME)
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/entity/CraftVersionLine.class */
|
public class CraftVersionLine extends TenantEntity {
|
private static final long serialVersionUID = 4506117029315956105L;
|
public static final String TABLE_NAME = "blade_craft_version_line";
|
private Long craftId;
|
private Long versionId;
|
private Long groupId;
|
|
public CraftVersionLine setCraftId(final Long craftId) {
|
this.craftId = craftId;
|
return this;
|
}
|
|
public CraftVersionLine setVersionId(final Long versionId) {
|
this.versionId = versionId;
|
return this;
|
}
|
|
public CraftVersionLine setGroupId(final Long groupId) {
|
this.groupId = groupId;
|
return this;
|
}
|
|
public String toString() {
|
return "CraftVersionLine(craftId=" + getCraftId() + ", versionId=" + getVersionId() + ", groupId=" + getGroupId() + ")";
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof CraftVersionLine) {
|
CraftVersionLine other = (CraftVersionLine) o;
|
if (other.canEqual(this) && super.equals(o)) {
|
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$versionId = getVersionId();
|
Object other$versionId = other.getVersionId();
|
if (this$versionId == null) {
|
if (other$versionId != null) {
|
return false;
|
}
|
} else if (!this$versionId.equals(other$versionId)) {
|
return false;
|
}
|
Object this$groupId = getGroupId();
|
Object other$groupId = other.getGroupId();
|
return this$groupId == null ? other$groupId == null : this$groupId.equals(other$groupId);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof CraftVersionLine;
|
}
|
|
public int hashCode() {
|
int result = super.hashCode();
|
Object $craftId = getCraftId();
|
int result2 = (result * 59) + ($craftId == null ? 43 : $craftId.hashCode());
|
Object $versionId = getVersionId();
|
int result3 = (result2 * 59) + ($versionId == null ? 43 : $versionId.hashCode());
|
Object $groupId = getGroupId();
|
return (result3 * 59) + ($groupId == null ? 43 : $groupId.hashCode());
|
}
|
|
public Long getCraftId() {
|
return this.craftId;
|
}
|
|
public Long getVersionId() {
|
return this.versionId;
|
}
|
|
public Long getGroupId() {
|
return this.groupId;
|
}
|
}
|