CS计算机代考程序代写 Java import java.util.List;

import java.util.List;

public class Employee {

private String name;

private List skills;

public Employee(String name, List skills) {
this.name = name;
this.skills = skills;
}

public String getName() {
return name;
}

public List getSkills() {
return skills;
}

public void setSkills(List skills) {
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;
}
}