1 | public class Employee implements Serializable {↵ | | 1 | public class Part implements Serializable {↵
|
2 | private Integer id;↵ | | 2 | private ↵
|
3 | private Collection employers;↵ | | |
|
|
|
4 | public Integer getId↵ | | 3 | String name;↵
|
| | | 4 | private String description;↵
|
5 | () {↵ | | 5 | public String getDescription() {↵
|
6 | return id;↵ | | 6 | return description;↵
|
7 | }↵ | | 7 | }↵
|
|
8 | public void setId(Integer integer) {↵ | | 8 | public void set↵
|
9 | id = integer↵ | | 9 | Description(String description) {↵
|
10 | ;↵ | | 10 | this.description = description;↵
|
11 | }↵ | | 11 | }↵
|
12 | ↵ | | 12 | ↵
|
13 | ↵ | | |
|
14 | public Collection getEmployers() {↵ | | 13 | public String getName() {↵
|
15 | return employers;↵ | | 14 | return name;↵
|
16 | }↵ | | 15 | }↵
|
17 | ↵ | | 16 | ↵
|
18 | public void setEmployers(Collection employers) {↵ | | 17 | public void setName(String name) {↵
|
19 | this.employers = employers | | 18 | this.name = name
|