mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
82 lines
1.4 KiB
Java
82 lines
1.4 KiB
Java
package org.tests.model;
|
|
|
|
import io.ebean.annotation.WhenCreated;
|
|
import io.ebean.annotation.WhenModified;
|
|
import io.ebean.annotation.WhoCreated;
|
|
import io.ebean.annotation.WhoModified;
|
|
|
|
import javax.persistence.Id;
|
|
import javax.persistence.MappedSuperclass;
|
|
import javax.persistence.Version;
|
|
import java.sql.Timestamp;
|
|
|
|
@MappedSuperclass
|
|
public class EWhoPropsSuper {
|
|
|
|
@Id
|
|
Long id;
|
|
|
|
@Version
|
|
Long version;
|
|
|
|
@WhenCreated
|
|
Timestamp whenCreated;
|
|
|
|
@WhenModified
|
|
Timestamp whenModified;
|
|
|
|
@WhoCreated
|
|
String whoCreated;
|
|
|
|
@WhoModified
|
|
String whoModified;
|
|
|
|
public Long getId() {
|
|
return id;
|
|
}
|
|
|
|
public void setId(Long id) {
|
|
this.id = id;
|
|
}
|
|
|
|
public Long getVersion() {
|
|
return version;
|
|
}
|
|
|
|
public void setVersion(Long version) {
|
|
this.version = version;
|
|
}
|
|
|
|
public Timestamp getWhenCreated() {
|
|
return whenCreated;
|
|
}
|
|
|
|
public void setWhenCreated(Timestamp whenCreated) {
|
|
this.whenCreated = whenCreated;
|
|
}
|
|
|
|
public Timestamp getWhenModified() {
|
|
return whenModified;
|
|
}
|
|
|
|
public void setWhenModified(Timestamp whenModified) {
|
|
this.whenModified = whenModified;
|
|
}
|
|
|
|
public String getWhoCreated() {
|
|
return whoCreated;
|
|
}
|
|
|
|
public void setWhoCreated(String whoCreated) {
|
|
this.whoCreated = whoCreated;
|
|
}
|
|
|
|
public String getWhoModified() {
|
|
return whoModified;
|
|
}
|
|
|
|
public void setWhoModified(String whoModified) {
|
|
this.whoModified = whoModified;
|
|
}
|
|
}
|