yangys
2024-09-04 04c57331cf84c8f606c2838dcb6fe5463fb9b68c
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
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
package com.qianwen.smartman.modules.mdc.dto;
 
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.List;
 
public class ProParamResDTO implements Serializable {
    private static final long serialVersionUID = -2983008804443599665L;
    @ApiModelProperty("采集项名称")
    private String collectItem;
    @ApiModelProperty("采集项真实名称")
    private String collectRealItem;
    @ApiModelProperty("数据类型")
    private Integer dataType;
    @ApiModelProperty("数据")
    private List<ProcessParameterRealVO> data;
    @ApiModelProperty("状态数据")
    private List<ProcessWcsDTO> statusData;
 
   
    public static class ProParamResDTOBuilder {
        private String collectItem;
        private String collectRealItem;
        private Integer dataType;
        private List<ProcessParameterRealVO> data;
        private List<ProcessWcsDTO> statusData;
 
        ProParamResDTOBuilder() {
        }
 
        public ProParamResDTOBuilder collectItem(final String collectItem) {
            this.collectItem = collectItem;
            return this;
        }
 
        public ProParamResDTOBuilder collectRealItem(final String collectRealItem) {
            this.collectRealItem = collectRealItem;
            return this;
        }
 
        public ProParamResDTOBuilder dataType(final Integer dataType) {
            this.dataType = dataType;
            return this;
        }
 
        public ProParamResDTOBuilder data(final List<ProcessParameterRealVO> data) {
            this.data = data;
            return this;
        }
 
        public ProParamResDTOBuilder statusData(final List<ProcessWcsDTO> statusData) {
            this.statusData = statusData;
            return this;
        }
 
        public ProParamResDTO build() {
            return new ProParamResDTO(this.collectItem, this.collectRealItem, this.dataType, this.data, this.statusData);
        }
 
        public String toString() {
            return "ProParamResDTO.ProParamResDTOBuilder(collectItem=" + this.collectItem + ", collectRealItem=" + this.collectRealItem + ", dataType=" + this.dataType + ", data=" + this.data + ", statusData=" + this.statusData + ")";
        }
    }
 
    public void setCollectItem(final String collectItem) {
        this.collectItem = collectItem;
    }
 
    public void setCollectRealItem(final String collectRealItem) {
        this.collectRealItem = collectRealItem;
    }
 
    public void setDataType(final Integer dataType) {
        this.dataType = dataType;
    }
 
    public void setData(final List<ProcessParameterRealVO> data) {
        this.data = data;
    }
 
    public void setStatusData(final List<ProcessWcsDTO> statusData) {
        this.statusData = statusData;
    }
 
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (o instanceof ProParamResDTO) {
            ProParamResDTO other = (ProParamResDTO) o;
            if (other.canEqual(this)) {
                Object this$dataType = getDataType();
                Object other$dataType = other.getDataType();
                if (this$dataType == null) {
                    if (other$dataType != null) {
                        return false;
                    }
                } else if (!this$dataType.equals(other$dataType)) {
                    return false;
                }
                Object this$collectItem = getCollectItem();
                Object other$collectItem = other.getCollectItem();
                if (this$collectItem == null) {
                    if (other$collectItem != null) {
                        return false;
                    }
                } else if (!this$collectItem.equals(other$collectItem)) {
                    return false;
                }
                Object this$collectRealItem = getCollectRealItem();
                Object other$collectRealItem = other.getCollectRealItem();
                if (this$collectRealItem == null) {
                    if (other$collectRealItem != null) {
                        return false;
                    }
                } else if (!this$collectRealItem.equals(other$collectRealItem)) {
                    return false;
                }
                Object this$data = getData();
                Object other$data = other.getData();
                if (this$data == null) {
                    if (other$data != null) {
                        return false;
                    }
                } else if (!this$data.equals(other$data)) {
                    return false;
                }
                Object this$statusData = getStatusData();
                Object other$statusData = other.getStatusData();
                return this$statusData == null ? other$statusData == null : this$statusData.equals(other$statusData);
            }
            return false;
        }
        return false;
    }
 
    protected boolean canEqual(final Object other) {
        return other instanceof ProParamResDTO;
    }
 
    public int hashCode() {
        Object $dataType = getDataType();
        int result = (1 * 59) + ($dataType == null ? 43 : $dataType.hashCode());
        Object $collectItem = getCollectItem();
        int result2 = (result * 59) + ($collectItem == null ? 43 : $collectItem.hashCode());
        Object $collectRealItem = getCollectRealItem();
        int result3 = (result2 * 59) + ($collectRealItem == null ? 43 : $collectRealItem.hashCode());
        Object $data = getData();
        int result4 = (result3 * 59) + ($data == null ? 43 : $data.hashCode());
        Object $statusData = getStatusData();
        return (result4 * 59) + ($statusData == null ? 43 : $statusData.hashCode());
    }
 
    public String toString() {
        return "ProParamResDTO(collectItem=" + getCollectItem() + ", collectRealItem=" + getCollectRealItem() + ", dataType=" + getDataType() + ", data=" + getData() + ", statusData=" + getStatusData() + ")";
    }
 
    public static ProParamResDTOBuilder builder() {
        return new ProParamResDTOBuilder();
    }
 
    public ProParamResDTO() {
    }
 
    public ProParamResDTO(final String collectItem, final String collectRealItem, final Integer dataType, final List<ProcessParameterRealVO> data, final List<ProcessWcsDTO> statusData) {
        this.collectItem = collectItem;
        this.collectRealItem = collectRealItem;
        this.dataType = dataType;
        this.data = data;
        this.statusData = statusData;
    }
 
    public String getCollectItem() {
        return this.collectItem;
    }
 
    public String getCollectRealItem() {
        return this.collectRealItem;
    }
 
    public Integer getDataType() {
        return this.dataType;
    }
 
    public List<ProcessParameterRealVO> getData() {
        return this.data;
    }
 
    public List<ProcessWcsDTO> getStatusData() {
        return this.statusData;
    }
}