|
|
@ -2,9 +2,11 @@ package hs.fulda.de.ci.exam.project; |
|
|
|
|
|
|
|
public class Airline { |
|
|
|
private String name; |
|
|
|
private String code; |
|
|
|
|
|
|
|
public Airline(String name, String code) { |
|
|
|
this.name = name; |
|
|
|
this.code = code; |
|
|
|
} |
|
|
|
|
|
|
|
public String getName() { |
|
|
@ -14,4 +16,12 @@ public class Airline { |
|
|
|
public void setName(String name) { |
|
|
|
this.name = name; |
|
|
|
} |
|
|
|
|
|
|
|
public String getCode() { |
|
|
|
return code; |
|
|
|
} |
|
|
|
|
|
|
|
public void setCode(String code) { |
|
|
|
this.code = code; |
|
|
|
} |
|
|
|
} |