Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ public abstract class AbstractVersionatedEntity<T extends Serializable> extends
private Date createDate;
private Date updateDate;
private Integer version;
private String username;

@Temporal(javax.persistence.TemporalType.TIMESTAMP)
public Date getUpdateDate() {
Expand Down Expand Up @@ -67,6 +68,14 @@ public Integer getVersion() {
public void setVersion(Integer version) {
this.version = version;
}

public String getUsername() {
return username;
}

public void setUsername(String username) {
this.username = username;
}

@PrePersist
public void beforePersist() {
Expand Down