package org.entity;
import java.sql.Timestamp;
import java.util.Date;
/**
* Emp entity. @author MyEclipse Persistence Tools
*/
public class Emp implements java.io.Serializable {
private Integer eid;
private Dept dept;
private String ename;
private Integer eage;
private Date edate;
private int did;
/** default constructor */
public Emp() {
}
/** minimal constructor */
public Emp(Integer eid) {
this.eid = eid;
}
/** full constructor */
public Emp(Integer eid, Dept dept, String ename, Integer eage,
Timestamp edate) {
this.eid = eid;
this.dept = dept;
this.ename = ename;
this.eage = eage;
this.edate = edate;
}
public Integer getEid() {
return this.eid;
}
public void setEid(Integer eid) {
this.eid = eid;
}
public Dept getDept() {
return this.dept;
}
public void setDept(Dept dept) {
this.dept = dept;
}
public String getEname() {
return this.ename;
}
public void setEname(String ename) {
this.ename = ename;
}
public Integer getEage() {
return this.eage;
}
public void setEage(Integer eage) {
this.eage = eage;
}
public int getDid() {
return did;
}
public void setDid(int did) {
this.did = did;
}
public Date getEdate() {
return edate;
}
public void setEdate(Date edate) {
this.edate = edate;
}
}