-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathLuggage.java
41 lines (32 loc) · 1.04 KB
/
Luggage.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
package BusinessLayer;
public class Luggage {
private String cnicNumber;
private String luggageNumber;
private double luggageWeight;
public Luggage(String cnicNumber, String luggageNumber, double luggageWeight) {
this.cnicNumber = cnicNumber;
this.luggageNumber = luggageNumber;
this.luggageWeight = luggageWeight;
}
// Getter and Setter for CNIC Number
public String getCnicNumber() {
return cnicNumber;
}
public void setCnicNumber(String cnicNumber) {
this.cnicNumber = cnicNumber;
}
// Getter and Setter for Luggage Number
public String getLuggageNumber() {
return luggageNumber;
}
public void setLuggageNumber(String luggageNumber) {
this.luggageNumber = luggageNumber;
}
// Getter and Setter for Luggage Weight
public double getLuggageWeight() {
return luggageWeight;
}
public void setLuggageWeight(double luggageWeight) {
this.luggageWeight = luggageWeight;
}
}