added persistence

This commit is contained in:
jesus-dayo
2016-08-12 18:44:08 +08:00
parent 74509557a6
commit e479614eaa
23 changed files with 472 additions and 61 deletions

View File

@@ -0,0 +1,33 @@
package org.baeldung.entity;
public class Employee {
private int id;
private String name;
private Division division;
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public Division getDivision() {
return division;
}
public void setDivision(Division division) {
this.division = division;
}
}