package domain;
import java.util.List;
import java.util.Map;
import java.util.Set;
public class Department {
private int id;
private String name;
// private Map<String,Employee> emps;
// private List<Employee> emps;
private Set<Employee> emps;
// private Employee[] emps;
//
//public Map<String, Employee> getEmps() {
// return emps;
// }
//
// public void setEmps(Map<String, Employee> emps) {
// this.emps = emps;
// }
public Set<Employee> getEmps() {
return emps;
}
public void setEmps(Set<Employee> emps) {
this.emps = emps;
}
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
// public List<Employee> getEmps() {
// return emps;
// }
//
// public void setEmps(List<Employee> emps) {
// this.emps = emps;
// }
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
}
评论0
最新资源