forked from AidaLf/SBU_AP_Project_Java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Passenger.java
48 lines (37 loc) · 866 Bytes
/
Passenger.java
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
class Passengers {
String name;
String lastName;
String nationalId;
String sex;
Date birthday;
public void setName(String name) {
this.name = name;
}
public String getName() {
return this.name;
}
public void setLastName(String lastName) {
this.lastName = lastName;
}
public String getLastName() {
return this.lastName;
}
public void setNationalId(String nationalId) {
this.nationalId = nationalId;
}
public String getNationalId() {
return this.nationalId;
}
public void setSex(String sex) {
this.sex = sex;
}
public String getSex() {
return this.sex;
}
public void setBirthday(Date birthday) {
this.birthday = birthday;
}
public Date getBirthday() {
return this.birthday;
}
}