yangys
2024-05-07 9b677ea5c6978788d135fc15da3d78c5a93789c2
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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
package com.qianwen.smartman.modules.dnc.dto;
 
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
 
public class TransferDirectoryDto implements Serializable {
    private static final long serialVersionUID = 1;
    @ApiModelProperty("目录name/工位名称")
    private String name;
    @ApiModelProperty("目录组的all_path")
    private String groupAllPath;
    @ApiModelProperty("目录组all_path_name")
    private String allPathName;
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "传输目录组Id", dataType = "java.lang.String")
    private Long groupId;
    @JsonSerialize(using = ToStringSerializer.class)
    @ApiModelProperty(value = "职权域Id", dataType = "java.lang.String")
    private Long deptId;
    @ApiModelProperty("工位id")
    private Long workstationId;
 
    public TransferDirectoryDto setName(final String name) {
        this.name = name;
        return this;
    }
 
    public TransferDirectoryDto setGroupAllPath(final String groupAllPath) {
        this.groupAllPath = groupAllPath;
        return this;
    }
 
    public TransferDirectoryDto setAllPathName(final String allPathName) {
        this.allPathName = allPathName;
        return this;
    }
 
    public TransferDirectoryDto setGroupId(final Long groupId) {
        this.groupId = groupId;
        return this;
    }
 
    public TransferDirectoryDto setDeptId(final Long deptId) {
        this.deptId = deptId;
        return this;
    }
 
    public TransferDirectoryDto setWorkstationId(final Long workstationId) {
        this.workstationId = workstationId;
        return this;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof TransferDirectoryDto) {
            TransferDirectoryDto other = (TransferDirectoryDto) o;
            if (other.canEqual(this)) {
                Object this$groupId = getGroupId();
                Object other$groupId = other.getGroupId();
                if (this$groupId == null) {
                    if (other$groupId != null) {
                        return false;
                    }
                } else if (!this$groupId.equals(other$groupId)) {
                    return false;
                }
                Object this$deptId = getDeptId();
                Object other$deptId = other.getDeptId();
                if (this$deptId == null) {
                    if (other$deptId != null) {
                        return false;
                    }
                } else if (!this$deptId.equals(other$deptId)) {
                    return false;
                }
                Object this$workstationId = getWorkstationId();
                Object other$workstationId = other.getWorkstationId();
                if (this$workstationId == null) {
                    if (other$workstationId != null) {
                        return false;
                    }
                } else if (!this$workstationId.equals(other$workstationId)) {
                    return false;
                }
                Object this$name = getName();
                Object other$name = other.getName();
                if (this$name == null) {
                    if (other$name != null) {
                        return false;
                    }
                } else if (!this$name.equals(other$name)) {
                    return false;
                }
                Object this$groupAllPath = getGroupAllPath();
                Object other$groupAllPath = other.getGroupAllPath();
                if (this$groupAllPath == null) {
                    if (other$groupAllPath != null) {
                        return false;
                    }
                } else if (!this$groupAllPath.equals(other$groupAllPath)) {
                    return false;
                }
                Object this$allPathName = getAllPathName();
                Object other$allPathName = other.getAllPathName();
                return this$allPathName == null ? other$allPathName == null : this$allPathName.equals(other$allPathName);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof TransferDirectoryDto;
    }
 
    public int hashCode() {
        Object $groupId = getGroupId();
        int result = (1 * 59) + ($groupId == null ? 43 : $groupId.hashCode());
        Object $deptId = getDeptId();
        int result2 = (result * 59) + ($deptId == null ? 43 : $deptId.hashCode());
        Object $workstationId = getWorkstationId();
        int result3 = (result2 * 59) + ($workstationId == null ? 43 : $workstationId.hashCode());
        Object $name = getName();
        int result4 = (result3 * 59) + ($name == null ? 43 : $name.hashCode());
        Object $groupAllPath = getGroupAllPath();
        int result5 = (result4 * 59) + ($groupAllPath == null ? 43 : $groupAllPath.hashCode());
        Object $allPathName = getAllPathName();
        return (result5 * 59) + ($allPathName == null ? 43 : $allPathName.hashCode());
    }
 
    public String toString() {
        return "TransferDirectoryDto(name=" + getName() + ", groupAllPath=" + getGroupAllPath() + ", allPathName=" + getAllPathName() + ", groupId=" + getGroupId() + ", deptId=" + getDeptId() + ", workstationId=" + getWorkstationId() + ")";
    }
 
    public TransferDirectoryDto() {
    }
 
    public TransferDirectoryDto(final String name, final String groupAllPath, final String allPathName, final Long groupId, final Long deptId, final Long workstationId) {
        this.name = name;
        this.groupAllPath = groupAllPath;
        this.allPathName = allPathName;
        this.groupId = groupId;
        this.deptId = deptId;
        this.workstationId = workstationId;
    }
 
    public String getName() {
        return this.name;
    }
 
    public String getGroupAllPath() {
        return this.groupAllPath;
    }
 
    public String getAllPathName() {
        return this.allPathName;
    }
 
    public Long getGroupId() {
        return this.groupId;
    }
 
    public Long getDeptId() {
        return this.deptId;
    }
 
    public Long getWorkstationId() {
        return this.workstationId;
    }
}