com.jpattern.orm.test.domain.DataVersionWithoutGenerator Maven / Gradle / Ivy
The newest version!
package com.jpattern.orm.test.domain;
import com.jpattern.orm.annotation.Id;
import com.jpattern.orm.annotation.Table;
import com.jpattern.orm.annotation.Version;
/**
*
* @author Francesco Cina'
*
* 26/ago/2011
*/
@Table(tableName="DATA_VERSION_INT")
public class DataVersionWithoutGenerator {
@Id
private int id;
private String data;
@Version
private long version;
public int getId() {
return this.id;
}
public void setId(final int id) {
this.id = id;
}
public void setData(final String data) {
this.data = data;
}
public String getData() {
return this.data;
}
public void setVersion(final long version) {
this.version = version;
}
public long getVersion() {
return this.version;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy