package com.qianwen.smartman.modules.sync.entity;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/sync/entity/DingOriDept.class */
|
public class DingOriDept {
|
private Long dept_id;
|
private String name;
|
private Long parent_id;
|
private Boolean create_dept_group;
|
private Boolean auto_add_user;
|
|
public void setDept_id(final Long dept_id) {
|
this.dept_id = dept_id;
|
}
|
|
public void setName(final String name) {
|
this.name = name;
|
}
|
|
public void setParent_id(final Long parent_id) {
|
this.parent_id = parent_id;
|
}
|
|
public void setCreate_dept_group(final Boolean create_dept_group) {
|
this.create_dept_group = create_dept_group;
|
}
|
|
public void setAuto_add_user(final Boolean auto_add_user) {
|
this.auto_add_user = auto_add_user;
|
}
|
|
public boolean equals(final Object o) {
|
if (o == this) {
|
return true;
|
}
|
if (o instanceof DingOriDept) {
|
DingOriDept other = (DingOriDept) o;
|
if (other.canEqual(this)) {
|
Object this$dept_id = getDept_id();
|
Object other$dept_id = other.getDept_id();
|
if (this$dept_id == null) {
|
if (other$dept_id != null) {
|
return false;
|
}
|
} else if (!this$dept_id.equals(other$dept_id)) {
|
return false;
|
}
|
Object this$parent_id = getParent_id();
|
Object other$parent_id = other.getParent_id();
|
if (this$parent_id == null) {
|
if (other$parent_id != null) {
|
return false;
|
}
|
} else if (!this$parent_id.equals(other$parent_id)) {
|
return false;
|
}
|
Object this$create_dept_group = getCreate_dept_group();
|
Object other$create_dept_group = other.getCreate_dept_group();
|
if (this$create_dept_group == null) {
|
if (other$create_dept_group != null) {
|
return false;
|
}
|
} else if (!this$create_dept_group.equals(other$create_dept_group)) {
|
return false;
|
}
|
Object this$auto_add_user = getAuto_add_user();
|
Object other$auto_add_user = other.getAuto_add_user();
|
if (this$auto_add_user == null) {
|
if (other$auto_add_user != null) {
|
return false;
|
}
|
} else if (!this$auto_add_user.equals(other$auto_add_user)) {
|
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 DingOriDept;
|
}
|
|
public int hashCode() {
|
Object $dept_id = getDept_id();
|
int result = (1 * 59) + ($dept_id == null ? 43 : $dept_id.hashCode());
|
Object $parent_id = getParent_id();
|
int result2 = (result * 59) + ($parent_id == null ? 43 : $parent_id.hashCode());
|
Object $create_dept_group = getCreate_dept_group();
|
int result3 = (result2 * 59) + ($create_dept_group == null ? 43 : $create_dept_group.hashCode());
|
Object $auto_add_user = getAuto_add_user();
|
int result4 = (result3 * 59) + ($auto_add_user == null ? 43 : $auto_add_user.hashCode());
|
Object $name = getName();
|
return (result4 * 59) + ($name == null ? 43 : $name.hashCode());
|
}
|
|
public String toString() {
|
return "DingOriDept(dept_id=" + getDept_id() + ", name=" + getName() + ", parent_id=" + getParent_id() + ", create_dept_group=" + getCreate_dept_group() + ", auto_add_user=" + getAuto_add_user() + ")";
|
}
|
|
public Long getDept_id() {
|
return this.dept_id;
|
}
|
|
public String getName() {
|
return this.name;
|
}
|
|
public Long getParent_id() {
|
return this.parent_id;
|
}
|
|
public Boolean getCreate_dept_group() {
|
return this.create_dept_group;
|
}
|
|
public Boolean getAuto_add_user() {
|
return this.auto_add_user;
|
}
|
}
|