com.jpattern.orm.test.domain.Employee Maven / Gradle / Ivy
The newest version!
package com.jpattern.orm.test.domain;
import com.jpattern.orm.annotation.Id;
/**
*
* @author Francesco Cina
*
* 20/mag/2011
*/
public class Employee {
@Id
private Integer id;
private int age;
private String name;
private String surname;
private String employeeNumber;
public Integer getId() {
return id;
}
public void setId(Integer id) {
this.id = id;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getSurname() {
return surname;
}
public void setSurname(String surname) {
this.surname = surname;
}
public String getEmployeeNumber() {
return employeeNumber;
}
public void setEmployeeNumber(String employeeNumber) {
this.employeeNumber = employeeNumber;
}
public void setAge(int age) {
this.age = age;
}
public int getAge() {
return age;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy