-
- All Implemented Interfaces:
@MappedSuperclass() public abstract class BaseModel extends Model
Base model for database classes. Extend this class with your database class.
-
-
Method Summary
Modifier and Type Method Description UUID
getId()
void
setId(UUID id)
Long
getVersion()
void
setVersion(Long version)
Instant
getCreated()
void
setCreated(Instant created)
Instant
getModified()
void
setModified(Instant modified)
-
-
Method Detail
-
getVersion
Long getVersion()
-
setVersion
void setVersion(Long version)
-
getCreated
Instant getCreated()
-
setCreated
void setCreated(Instant created)
-
getModified
Instant getModified()
-
setModified
void setModified(Instant modified)
-
-
-
-