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
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
package com.qianwen.smartman.modules.dnc.vo;
 
import io.swagger.annotations.ApiModelProperty;
import java.util.List;
 
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/dnc/vo/WorkstationDetailVO.class */
public class WorkstationDetailVO {
    @ApiModelProperty("工位id")
    private String workstationId;
    @ApiModelProperty("固定空间目录id  根目录是常规空间  其他节点是固定空间文件")
    private Long storageSpaceId;
    @ApiModelProperty("文件名称")
    private String fileName;
    @ApiModelProperty("存储空间:1 内部存储  2 以太网,默认都传: 1,2")
    private List<Integer> fileLocations;
    @ApiModelProperty("1 常规空间 0 固定空间")
    private Integer regularSpace;
    @ApiModelProperty("1新版本 0老版本")
    private Integer oldVer;
 
    public void setWorkstationId(final String workstationId) {
        this.workstationId = workstationId;
    }
 
    public void setStorageSpaceId(final Long storageSpaceId) {
        this.storageSpaceId = storageSpaceId;
    }
 
    public void setFileName(final String fileName) {
        this.fileName = fileName;
    }
 
    public void setFileLocations(final List<Integer> fileLocations) {
        this.fileLocations = fileLocations;
    }
 
    public void setRegularSpace(final Integer regularSpace) {
        this.regularSpace = regularSpace;
    }
 
    public void setOldVer(final Integer oldVer) {
        this.oldVer = oldVer;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof WorkstationDetailVO) {
            WorkstationDetailVO other = (WorkstationDetailVO) o;
            if (other.canEqual(this)) {
                Object this$storageSpaceId = getStorageSpaceId();
                Object other$storageSpaceId = other.getStorageSpaceId();
                if (this$storageSpaceId == null) {
                    if (other$storageSpaceId != null) {
                        return false;
                    }
                } else if (!this$storageSpaceId.equals(other$storageSpaceId)) {
                    return false;
                }
                Object this$regularSpace = getRegularSpace();
                Object other$regularSpace = other.getRegularSpace();
                if (this$regularSpace == null) {
                    if (other$regularSpace != null) {
                        return false;
                    }
                } else if (!this$regularSpace.equals(other$regularSpace)) {
                    return false;
                }
                Object this$oldVer = getOldVer();
                Object other$oldVer = other.getOldVer();
                if (this$oldVer == null) {
                    if (other$oldVer != null) {
                        return false;
                    }
                } else if (!this$oldVer.equals(other$oldVer)) {
                    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$fileName = getFileName();
                Object other$fileName = other.getFileName();
                if (this$fileName == null) {
                    if (other$fileName != null) {
                        return false;
                    }
                } else if (!this$fileName.equals(other$fileName)) {
                    return false;
                }
                Object this$fileLocations = getFileLocations();
                Object other$fileLocations = other.getFileLocations();
                return this$fileLocations == null ? other$fileLocations == null : this$fileLocations.equals(other$fileLocations);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof WorkstationDetailVO;
    }
 
    public int hashCode() {
        Object $storageSpaceId = getStorageSpaceId();
        int result = (1 * 59) + ($storageSpaceId == null ? 43 : $storageSpaceId.hashCode());
        Object $regularSpace = getRegularSpace();
        int result2 = (result * 59) + ($regularSpace == null ? 43 : $regularSpace.hashCode());
        Object $oldVer = getOldVer();
        int result3 = (result2 * 59) + ($oldVer == null ? 43 : $oldVer.hashCode());
        Object $workstationId = getWorkstationId();
        int result4 = (result3 * 59) + ($workstationId == null ? 43 : $workstationId.hashCode());
        Object $fileName = getFileName();
        int result5 = (result4 * 59) + ($fileName == null ? 43 : $fileName.hashCode());
        Object $fileLocations = getFileLocations();
        return (result5 * 59) + ($fileLocations == null ? 43 : $fileLocations.hashCode());
    }
 
    public String toString() {
        return "WorkstationDetailVO(workstationId=" + getWorkstationId() + ", storageSpaceId=" + getStorageSpaceId() + ", fileName=" + getFileName() + ", fileLocations=" + getFileLocations() + ", regularSpace=" + getRegularSpace() + ", oldVer=" + getOldVer() + ")";
    }
 
    public String getWorkstationId() {
        return this.workstationId;
    }
 
    public Long getStorageSpaceId() {
        return this.storageSpaceId;
    }
 
    public String getFileName() {
        return this.fileName;
    }
 
    public List<Integer> getFileLocations() {
        return this.fileLocations;
    }
 
    public Integer getRegularSpace() {
        return this.regularSpace;
    }
 
    public Integer getOldVer() {
        return this.oldVer;
    }
}