Skip to content

Instantly share code, notes, and snippets.

@JeromeGuyon
Created June 29, 2017 11:50
Show Gist options
  • Select an option

  • Save JeromeGuyon/27def4993d08631b2a486d4b35aeaab2 to your computer and use it in GitHub Desktop.

Select an option

Save JeromeGuyon/27def4993d08631b2a486d4b35aeaab2 to your computer and use it in GitHub Desktop.
public abstract class AbstractVersionnedEntity {
@Field("audit.v")
protected Long version;
@Field("audit.createdBy")
protected String createdBy;
@Field("audit.createdDate")
protected LocalDateTime createdDate;
public Long getVersion() {
return version;
}
public void setVersion(Long version) {
this.version = version;
}
public String getCreatedBy() {
return createdBy;
}
public void setCreatedBy(String createdBy) {
this.createdBy = createdBy;
}
public LocalDateTime getCreatedDate() {
return createdDate;
}
public void setCreatedDate(LocalDateTime createdDate) {
this.createdDate = createdDate;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment