Skip to content

Instantly share code, notes, and snippets.

@sourabh86
Last active December 24, 2015 16:19
Show Gist options
  • Save sourabh86/6826972 to your computer and use it in GitHub Desktop.
Save sourabh86/6826972 to your computer and use it in GitHub Desktop.
Employee class for hibernate 4 example
package com.cc.example.hibernate;
public class Employee {
private String firstName;
private String lastName;
private String email;
private long id;
public String getFirstName() {
return firstName;
}
public void setFirstName(String firstName) {
this.firstName = firstName;
}
public String getLastName() {
return lastName;
}
public void setLastName(String lastName) {
this.lastName = lastName;
}
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
}
public long getId() {
return id;
}
public void setId(long id) {
this.id = id;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment