package com.qianwen.smartman.modules.notify.dto;
|
|
import java.io.Serializable;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/notify/dto/NotifyDefaultPersonDTO.class */
|
public class NotifyDefaultPersonDTO implements Serializable {
|
private Long personId;
|
private Integer personType;
|
private String name;
|
|
public NotifyDefaultPersonDTO setPersonId(final Long personId) {
|
this.personId = personId;
|
return this;
|
}
|
|
public NotifyDefaultPersonDTO setPersonType(final Integer personType) {
|
this.personType = personType;
|
return this;
|
}
|
|
public NotifyDefaultPersonDTO setName(final String name) {
|
this.name = name;
|
return this;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof NotifyDefaultPersonDTO) {
|
NotifyDefaultPersonDTO other = (NotifyDefaultPersonDTO) o;
|
if (other.canEqual(this)) {
|
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$name = getName();
|
Object other$name = other.getName();
|
return this$name == null ? other$name == null : this$name.equals(other$name);
|
}
|
return false;
|
}
|
return false;
|
}
|
|
protected boolean canEqual(final Object other) {
|
return other instanceof NotifyDefaultPersonDTO;
|
}
|
|
public int hashCode() {
|
Object $personId = getPersonId();
|
int result = (1 * 59) + ($personId == null ? 43 : $personId.hashCode());
|
Object $personType = getPersonType();
|
int result2 = (result * 59) + ($personType == null ? 43 : $personType.hashCode());
|
Object $name = getName();
|
return (result2 * 59) + ($name == null ? 43 : $name.hashCode());
|
}
|
|
public String toString() {
|
return "NotifyDefaultPersonDTO(personId=" + getPersonId() + ", personType=" + getPersonType() + ", name=" + getName() + ")";
|
}
|
|
public Long getPersonId() {
|
return this.personId;
|
}
|
|
public Integer getPersonType() {
|
return this.personType;
|
}
|
|
public String getName() {
|
return this.name;
|
}
|
}
|