You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
503 B
24 lines
503 B
package hs.fulda.de.ci.exam.project;
|
|
|
|
|
|
import java.util.ArrayList;
|
|
|
|
public class Customer extends Person{
|
|
|
|
private String frequentFlyerNumber;
|
|
|
|
|
|
|
|
public Customer(String name, Address address, String email, String phone) {
|
|
super(name, address, email, phone);
|
|
}
|
|
|
|
public void setFrequentFlyerNumber(String frequentFlyerNumber) {
|
|
this.frequentFlyerNumber = frequentFlyerNumber;
|
|
}
|
|
|
|
public String getFrequentFlyerNumber() {
|
|
return frequentFlyerNumber;
|
|
}
|
|
|
|
}
|