yangys
2024-03-29 7d18c733d4c4109f2bc8e5b176cfde74c490a207
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
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;
    }
}