ManyEmptyDomain.java
2.52 KB
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
package com.huaheng.api.wcs.domain;
import java.util.Objects;
public class ManyEmptyDomain {
private String containerCode;
private String length;
private String width;
private String height;
private String weight;
private String roadWay;
private String area;
private String warehouseCode;
private String port;
public String getContainerCode() {
return containerCode;
}
public void setContainerCode(String containerCode) {
this.containerCode = containerCode;
}
public String getLength() {
return length;
}
public void setLength(String length) {
this.length = length;
}
public String getWidth() {
return width;
}
public void setWidth(String width) {
this.width = width;
}
public String getHeight() {
return height;
}
public void setHeight(String height) {
this.height = height;
}
public String getWeight() {
return weight;
}
public void setWeight(String weight) {
this.weight = weight;
}
public String getRoadWay() {
return roadWay;
}
public void setRoadWay(String roadWay) {
this.roadWay = roadWay;
}
public String getArea() {
return area;
}
public void setArea(String area) {
this.area = area;
}
public String getWarehouseCode() {
return warehouseCode;
}
public void setWarehouseCode(String warehouseCode) {
this.warehouseCode = warehouseCode;
}
public String getPort() {
return port;
}
public void setPort(String port) {
this.port = port;
}
@Override
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
ManyEmptyDomain that = (ManyEmptyDomain) o;
return Objects.equals(containerCode, that.containerCode) &&
Objects.equals(length, that.length) &&
Objects.equals(width, that.width) &&
Objects.equals(height, that.height) &&
Objects.equals(weight, that.weight) &&
Objects.equals(roadWay, that.roadWay) &&
Objects.equals(area, that.area) &&
Objects.equals(warehouseCode, that.warehouseCode) &&
Objects.equals(port, that.port);
}
@Override
public int hashCode() {
return Objects.hash(containerCode, length, width, height, weight, roadWay, area, warehouseCode, port);
}
}