-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGarment.java
More file actions
40 lines (30 loc) · 770 Bytes
/
Garment.java
File metadata and controls
40 lines (30 loc) · 770 Bytes
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
package wagesmanagementsystem;
public class Garment {
private String brand;
private String color;
private String type;
private String quality;
private long cost;
public Garment(String brand, String color, String type, String quality, long cost) {
this.brand = brand;
this.color = color;
this.type = type;
this.quality = quality;
this.cost = cost;
}
public String getBrand() {
return brand;
}
public String getColor() {
return color;
}
public String getType() {
return type;
}
public String getQuality() {
return quality;
}
public long getCost() {
return cost;
}
}