mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#919 - io.ebean package initial
This commit is contained in:
@@ -0,0 +1,54 @@
|
||||
package org.tests.model.basic;
|
||||
|
||||
import javax.persistence.MappedSuperclass;
|
||||
import javax.persistence.Transient;
|
||||
import javax.persistence.Version;
|
||||
|
||||
@MappedSuperclass
|
||||
public class TMappedSuper2 {
|
||||
|
||||
String something;
|
||||
|
||||
@Version
|
||||
int version;
|
||||
|
||||
@Transient
|
||||
SomeObject someObject;
|
||||
|
||||
@Transient
|
||||
Integer myint;
|
||||
|
||||
public String getSomething() {
|
||||
return something;
|
||||
}
|
||||
|
||||
public void setSomething(String something) {
|
||||
this.something = something;
|
||||
}
|
||||
|
||||
public SomeObject getSomeObject() {
|
||||
return someObject;
|
||||
}
|
||||
|
||||
public void setSomeObject(SomeObject someObject) {
|
||||
this.someObject = someObject;
|
||||
}
|
||||
|
||||
public Integer getMyint() {
|
||||
return myint;
|
||||
}
|
||||
|
||||
public void setMyint(Integer myint) {
|
||||
this.myint = myint;
|
||||
}
|
||||
|
||||
public int getVersion() {
|
||||
return version;
|
||||
}
|
||||
|
||||
public void setVersion(int version) {
|
||||
this.version = version;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user