package org.entity;
import java.util.HashSet;
import java.util.Set;
/**
* Dept entity. @author MyEclipse Persistence Tools
*/
public class Dept implements java.io.Serializable {
private Integer id;
private String name;
private String loc;
private Set emps = new HashSet(0);
/** default constructor */
public Dept() {
}
/** minimal constructor */
public Dept(Integer id) {
this.id = id;
}
/** full constructor */
public Dept(Integer id, String name, String loc, Set emps) {
this.id = id;
this.name = name;
this.loc = loc;
this.emps = emps;
}
public Integer getId() {
return this.id;
}
public void setId(Integer id) {
this.id = id;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public String getLoc() {
return this.loc;
}
public void setLoc(String loc) {
this.loc = loc;
}
public Set getEmps() {
return this.emps;
}
public void setEmps(Set emps) {
this.emps = emps;
}
}