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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
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;
    }
}