package org.javaee7.jpa.datasourcedefinition_webxml_pu.entity;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
/**
* A very simple JPA entity that will be used for testing
*
* @author Arjan Tijms
*
*/
@Entity
public class TestEntity {
@Id
@GeneratedValue(strategy = IDENTITY)
private Long id;
private String value;
public Long getId() {
return id;
}
public void setId(Long id) {
this.id = id;
}
public String getValue() {
return value;
}
public void setValue(String value) {
this.value = value;
}
}