yangys
2024-04-04 ed4a5236bab800094be4a8378f5098eebe3de6ac
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
package com.qianwen.smartman.modules.notify.entity;
 
import com.baomidou.mybatisplus.annotation.TableName;
import com.qianwen.core.tenant.mp.TenantEntity;
 
@TableName("blade_business_notify_state")
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/notify/entity/BusinessNotifyState.class */
public class BusinessNotifyState extends TenantEntity {
    private String businessKey;
    private Long personId;
    private Long businessId;
    private Integer personType;
 
    public void setBusinessKey(final String businessKey) {
        this.businessKey = businessKey;
    }
 
    public void setPersonId(final Long personId) {
        this.personId = personId;
    }
 
    public void setBusinessId(final Long businessId) {
        this.businessId = businessId;
    }
 
    public void setPersonType(final Integer personType) {
        this.personType = personType;
    }
 
    public String toString() {
        return "BusinessNotifyState(businessKey=" + getBusinessKey() + ", personId=" + getPersonId() + ", businessId=" + getBusinessId() + ", personType=" + getPersonType() + ")";
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof BusinessNotifyState) {
            BusinessNotifyState other = (BusinessNotifyState) o;
            if (other.canEqual(this) && super.equals(o)) {
                Object this$personId = getPersonId();
                Object other$personId = other.getPersonId();
                if (this$personId == null) {
                    if (other$personId != null) {
                        return false;
                    }
                } else if (!this$personId.equals(other$personId)) {
                    return false;
                }
                Object this$businessId = getBusinessId();
                Object other$businessId = other.getBusinessId();
                if (this$businessId == null) {
                    if (other$businessId != null) {
                        return false;
                    }
                } else if (!this$businessId.equals(other$businessId)) {
                    return false;
                }
                Object this$personType = getPersonType();
                Object other$personType = other.getPersonType();
                if (this$personType == null) {
                    if (other$personType != null) {
                        return false;
                    }
                } else if (!this$personType.equals(other$personType)) {
                    return false;
                }
                Object this$businessKey = getBusinessKey();
                Object other$businessKey = other.getBusinessKey();
                return this$businessKey == null ? other$businessKey == null : this$businessKey.equals(other$businessKey);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof BusinessNotifyState;
    }
 
    public int hashCode() {
        int result = super.hashCode();
        Object $personId = getPersonId();
        int result2 = (result * 59) + ($personId == null ? 43 : $personId.hashCode());
        Object $businessId = getBusinessId();
        int result3 = (result2 * 59) + ($businessId == null ? 43 : $businessId.hashCode());
        Object $personType = getPersonType();
        int result4 = (result3 * 59) + ($personType == null ? 43 : $personType.hashCode());
        Object $businessKey = getBusinessKey();
        return (result4 * 59) + ($businessKey == null ? 43 : $businessKey.hashCode());
    }
 
    public String getBusinessKey() {
        return this.businessKey;
    }
 
    public Long getPersonId() {
        return this.personId;
    }
 
    public Long getBusinessId() {
        return this.businessId;
    }
 
    public Integer getPersonType() {
        return this.personType;
    }
}