package com.qianwen.smartman.modules.notify.entity;
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.qianwen.core.tenant.mp.TenantEntity;
|
|
@TableName("blade_notify_default_person")
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/notify/entity/NotifyDefaultPerson.class */
|
public class NotifyDefaultPerson extends TenantEntity {
|
private String businessKey;
|
private Long personId;
|
private Integer personType;
|
|
public void setBusinessKey(final String businessKey) {
|
this.businessKey = businessKey;
|
}
|
|
public void setPersonId(final Long personId) {
|
this.personId = personId;
|
}
|
|
public void setPersonType(final Integer personType) {
|
this.personType = personType;
|
}
|
|
public String toString() {
|
return "NotifyDefaultPerson(businessKey=" + getBusinessKey() + ", personId=" + getPersonId() + ", personType=" + getPersonType() + ")";
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof NotifyDefaultPerson) {
|
NotifyDefaultPerson other = (NotifyDefaultPerson) 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$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 NotifyDefaultPerson;
|
}
|
|
public int hashCode() {
|
int result = super.hashCode();
|
Object $personId = getPersonId();
|
int result2 = (result * 59) + ($personId == null ? 43 : $personId.hashCode());
|
Object $personType = getPersonType();
|
int result3 = (result2 * 59) + ($personType == null ? 43 : $personType.hashCode());
|
Object $businessKey = getBusinessKey();
|
return (result3 * 59) + ($businessKey == null ? 43 : $businessKey.hashCode());
|
}
|
|
public String getBusinessKey() {
|
return this.businessKey;
|
}
|
|
public Long getPersonId() {
|
return this.personId;
|
}
|
|
public Integer getPersonType() {
|
return this.personType;
|
}
|
}
|