/*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
*/
package org.hibernate.test.immutable.entitywithmutablecollection;
import java.io.Serializable;
public class Info implements Serializable {
private long id;
private String text;
private long version;
public Info() {
super();
}
public Info(String text) {
this.text = text;
}
public long getVersion() {
return version;
}
public void setVersion(long version) {
this.version = version;
}
public String getText() {
return text;
}
public void setText(String text) {
this.text = text;
}
public long getId() {
return id;
}
public void setId(long id) {
this.id = id;
}
}