-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDept.java
More file actions
48 lines (36 loc) · 723 Bytes
/
Copy pathDept.java
File metadata and controls
48 lines (36 loc) · 723 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
41
42
43
44
45
46
47
48
package m;
import java.util.Set;
/**
* Created by Bettayeb on 5/4/2017.
*/
public class Dept {
private int id;
private String label;
Set<Empl> empl;
public Dept(){}
public Dept(String label) {
this.label = label;
}
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public String getLabel() {
return label;
}
public void setLabel(String label) {
this.label = label;
}
public Set<Empl> getEmpl() {
return empl;
}
public void setEmpl(Set<Empl> empl) {
this.empl = empl;
}
@Override
public String toString() {
return id+" - "+label;
}
}