#1292: AbstractBaseDO.kt

projectforge-business/src/main/kotlin/org/projectforge/framework/persistence/entities/AbstractBaseDO.kt Base Entity Superclass, projectforge-business/src/main/kotlin/org/projectforge/framework/persistence/entities/AbstractBaseDO.kt 189 lines · 101 code · 70 comments · 18 blank
The @MappedSuperclass base for all domain objects. Implements ExtendedBaseDO<I> and provides core entity infrastructure: ID property, created/lastUpdate timestamps, deleted flag for soft-delete, createdBy/lastUpdateBy user references, and a copyValuesFrom() method delegating to CandHMaster. Also provides toString() via JSON serialization.

Core Fields

FieldTypeDescription
idIPrimary key (abstract, implemented by subclass)
createdDate?Creation timestamp
lastUpdateDate?Last modification timestamp
deletedBooleanSoft-delete flag
createdByLong?FK to creating user
lastUpdateByLong?FK to last modifying user

Git History

868d6abb7 2025 -> 2026
63081666f Source file headers: 2024-> 2025.
a582dad74 Migration stuff in progress... (all tests of all packages: OK).
b60319f30 Migration stuff in progress... (all tests of all packages: OK).
6b6a77efc Migration stuff in progress...