yangys
2024-03-29 410eed616ce86a76ecfbd272be0a4463ac54a517
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
package com.qianwen.smartman.modules.dnc.vo;
 
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.List;
import javax.validation.constraints.NotBlank;
 
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/dnc/vo/UpdateDirectoryVO.class */
public class UpdateDirectoryVO implements Serializable {
    @NotBlank(message = "目录id必传")
    @ApiModelProperty("目录id")
    private String directorId;
    @NotBlank(message = "目录名称必传")
    @ApiModelProperty("目录名称")
    private String directorName;
    @ApiModelProperty("旧工位集合")
    private List<String> oldWorkstationIds;
    @ApiModelProperty("新工位集合")
    private List<String> newWorkstationIds;
 
    public void setDirectorId(final String directorId) {
        this.directorId = directorId;
    }
 
    public void setDirectorName(final String directorName) {
        this.directorName = directorName;
    }
 
    public void setOldWorkstationIds(final List<String> oldWorkstationIds) {
        this.oldWorkstationIds = oldWorkstationIds;
    }
 
    public void setNewWorkstationIds(final List<String> newWorkstationIds) {
        this.newWorkstationIds = newWorkstationIds;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof UpdateDirectoryVO) {
            UpdateDirectoryVO other = (UpdateDirectoryVO) o;
            if (other.canEqual(this)) {
                Object this$directorId = getDirectorId();
                Object other$directorId = other.getDirectorId();
                if (this$directorId == null) {
                    if (other$directorId != null) {
                        return false;
                    }
                } else if (!this$directorId.equals(other$directorId)) {
                    return false;
                }
                Object this$directorName = getDirectorName();
                Object other$directorName = other.getDirectorName();
                if (this$directorName == null) {
                    if (other$directorName != null) {
                        return false;
                    }
                } else if (!this$directorName.equals(other$directorName)) {
                    return false;
                }
                Object this$oldWorkstationIds = getOldWorkstationIds();
                Object other$oldWorkstationIds = other.getOldWorkstationIds();
                if (this$oldWorkstationIds == null) {
                    if (other$oldWorkstationIds != null) {
                        return false;
                    }
                } else if (!this$oldWorkstationIds.equals(other$oldWorkstationIds)) {
                    return false;
                }
                Object this$newWorkstationIds = getNewWorkstationIds();
                Object other$newWorkstationIds = other.getNewWorkstationIds();
                return this$newWorkstationIds == null ? other$newWorkstationIds == null : this$newWorkstationIds.equals(other$newWorkstationIds);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof UpdateDirectoryVO;
    }
 
    public int hashCode() {
        Object $directorId = getDirectorId();
        int result = (1 * 59) + ($directorId == null ? 43 : $directorId.hashCode());
        Object $directorName = getDirectorName();
        int result2 = (result * 59) + ($directorName == null ? 43 : $directorName.hashCode());
        Object $oldWorkstationIds = getOldWorkstationIds();
        int result3 = (result2 * 59) + ($oldWorkstationIds == null ? 43 : $oldWorkstationIds.hashCode());
        Object $newWorkstationIds = getNewWorkstationIds();
        return (result3 * 59) + ($newWorkstationIds == null ? 43 : $newWorkstationIds.hashCode());
    }
 
    public String toString() {
        return "UpdateDirectoryVO(directorId=" + getDirectorId() + ", directorName=" + getDirectorName() + ", oldWorkstationIds=" + getOldWorkstationIds() + ", newWorkstationIds=" + getNewWorkstationIds() + ")";
    }
 
    public String getDirectorId() {
        return this.directorId;
    }
 
    public String getDirectorName() {
        return this.directorName;
    }
 
    public List<String> getOldWorkstationIds() {
        return this.oldWorkstationIds;
    }
 
    public List<String> getNewWorkstationIds() {
        return this.newWorkstationIds;
    }
}