|
|
@@ -1,26 +0,0 @@
|
|
1
|
|
-package se.citerus.dddsample.interfaces.booking.facade.dto;
|
|
2
|
|
-
|
|
3
|
|
-import java.io.Serializable;
|
|
4
|
|
-
|
|
5
|
|
-/**
|
|
6
|
|
- * Location DTO.
|
|
7
|
|
- */
|
|
8
|
|
-public class LocationDTO implements Serializable {
|
|
9
|
|
-
|
|
10
|
|
- private final String unLocode;
|
|
11
|
|
- private final String name;
|
|
12
|
|
-
|
|
13
|
|
- public LocationDTO(String unLocode, String name) {
|
|
14
|
|
- this.unLocode = unLocode;
|
|
15
|
|
- this.name = name;
|
|
16
|
|
- }
|
|
17
|
|
-
|
|
18
|
|
- public String getUnLocode() {
|
|
19
|
|
- return unLocode;
|
|
20
|
|
- }
|
|
21
|
|
-
|
|
22
|
|
- public String getName() {
|
|
23
|
|
- return name;
|
|
24
|
|
- }
|
|
25
|
|
-
|
|
26
|
|
-}
|