import java.util.List;
public class Employee {
private String name;
private List
public Employee(String name, List
this.name = name;
this.skills = skills;
}
public String getName() {
return name;
}
public List
return skills;
}
public void setSkills(List
this.skills = skills;
}
@Override
public boolean equals(Object o) {
if(this == o) {
return true;
}
if(o instanceof Employee) {
Employee student = (Employee) o;
return this.name.equals(student.name) && this.skills.equals(student.skills);
}
return false;
}
}