|
@@ -11,7 +11,6 @@ import javax.persistence.GenerationType;
|
11
|
11
|
import javax.persistence.Id;
|
12
|
12
|
|
13
|
13
|
@Entity
|
14
|
|
-@Data @AllArgsConstructor @NoArgsConstructor @ToString
|
15
|
14
|
public class Address {
|
16
|
15
|
|
17
|
16
|
@Id @GeneratedValue(strategy = GenerationType.IDENTITY)
|
|
@@ -21,5 +20,65 @@ public class Address {
|
21
|
20
|
private String pb;
|
22
|
21
|
private String city;
|
23
|
22
|
private String residenceCountry;
|
24
|
|
- private String birthCountry;
|
|
23
|
+
|
|
24
|
+ public Address() {
|
|
25
|
+ }
|
|
26
|
+
|
|
27
|
+ public Address(Long addressID, String numHouse, String streetName,
|
|
28
|
+ String pb, String city, String residenceCountry) {
|
|
29
|
+ this.addressID = addressID;
|
|
30
|
+ this.numHouse = numHouse;
|
|
31
|
+ this.streetName = streetName;
|
|
32
|
+ this.pb = pb;
|
|
33
|
+ this.city = city;
|
|
34
|
+ this.residenceCountry = residenceCountry;
|
|
35
|
+ }
|
|
36
|
+
|
|
37
|
+ public Long getAddressID() {
|
|
38
|
+ return addressID;
|
|
39
|
+ }
|
|
40
|
+
|
|
41
|
+ public void setAddressID(Long addressID) {
|
|
42
|
+ this.addressID = addressID;
|
|
43
|
+ }
|
|
44
|
+
|
|
45
|
+ public String getNumHouse() {
|
|
46
|
+ return numHouse;
|
|
47
|
+ }
|
|
48
|
+
|
|
49
|
+ public void setNumHouse(String numHouse) {
|
|
50
|
+ this.numHouse = numHouse;
|
|
51
|
+ }
|
|
52
|
+
|
|
53
|
+ public String getStreetName() {
|
|
54
|
+ return streetName;
|
|
55
|
+ }
|
|
56
|
+
|
|
57
|
+ public void setStreetName(String streetName) {
|
|
58
|
+ this.streetName = streetName;
|
|
59
|
+ }
|
|
60
|
+
|
|
61
|
+ public String getPb() {
|
|
62
|
+ return pb;
|
|
63
|
+ }
|
|
64
|
+
|
|
65
|
+ public void setPb(String pb) {
|
|
66
|
+ this.pb = pb;
|
|
67
|
+ }
|
|
68
|
+
|
|
69
|
+ public String getCity() {
|
|
70
|
+ return city;
|
|
71
|
+ }
|
|
72
|
+
|
|
73
|
+ public void setCity(String city) {
|
|
74
|
+ this.city = city;
|
|
75
|
+ }
|
|
76
|
+
|
|
77
|
+ public String getResidenceCountry() {
|
|
78
|
+ return residenceCountry;
|
|
79
|
+ }
|
|
80
|
+
|
|
81
|
+ public void setResidenceCountry(String residenceCountry) {
|
|
82
|
+ this.residenceCountry = residenceCountry;
|
|
83
|
+ }
|
25
|
84
|
}
|