43 lines
766 B
Java
43 lines
766 B
Java
package com.baeldung.jest;
|
|
|
|
import java.util.List;
|
|
|
|
public class Employee {
|
|
String name;
|
|
String title;
|
|
List<String> skills;
|
|
int yearsOfService;
|
|
|
|
public String getName() {
|
|
return name;
|
|
}
|
|
|
|
public void setName(String name) {
|
|
this.name = name;
|
|
}
|
|
|
|
public String getTitle() {
|
|
return title;
|
|
}
|
|
|
|
public void setTitle(String title) {
|
|
this.title = title;
|
|
}
|
|
|
|
public List<String> getSkills() {
|
|
return skills;
|
|
}
|
|
|
|
public void setSkills(List<String> skills) {
|
|
this.skills = skills;
|
|
}
|
|
|
|
public int getYearsOfService() {
|
|
return yearsOfService;
|
|
}
|
|
|
|
public void setYearsOfService(int yearsOfService) {
|
|
this.yearsOfService = yearsOfService;
|
|
}
|
|
}
|