package com.qianwen.core.tenant.mp;
|
|
import io.swagger.annotations.ApiModelProperty;
|
import com.qianwen.core.mp.base.BaseEntity;
|
|
/* loaded from: blade-starter-tenant-9.3.0.0-SNAPSHOT.jar:org/springblade/core/tenant/mp/TenantEntity.class */
|
public class TenantEntity extends BaseEntity {
|
@ApiModelProperty("租户ID")
|
private String tenantId;
|
|
public void setTenantId(final String tenantId) {
|
this.tenantId = tenantId;
|
}
|
|
public String toString() {
|
return "TenantEntity(tenantId=" + getTenantId() + ")";
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof TenantEntity) {
|
TenantEntity other = (TenantEntity) o;
|
if (other.canEqual(this) && super.equals(o)) {
|
Object this$tenantId = getTenantId();
|
Object other$tenantId = other.getTenantId();
|
return this$tenantId == null ? other$tenantId == null : this$tenantId.equals(other$tenantId);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof TenantEntity;
|
}
|
|
public int hashCode() {
|
int result = super.hashCode();
|
Object $tenantId = getTenantId();
|
return (result * 59) + ($tenantId == null ? 43 : $tenantId.hashCode());
|
}
|
|
public String getTenantId() {
|
return this.tenantId;
|
}
|
}
|