@MappedSuperclass public abstract class AuditableModel extends Model
The model instance logs the creation date, last modified date, the authorized user who created the record and the user who updated the record last time.
Constructor and Description |
---|
AuditableModel() |
Modifier and Type | Method and Description |
---|---|
User |
getCreatedBy() |
java.time.LocalDateTime |
getCreatedOn() |
User |
getUpdatedBy() |
java.time.LocalDateTime |
getUpdatedOn() |
getArchived, getId, getVersion, isSelected, setArchived, setId, setSelected, setVersion