#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
| Field | Type | Description |
id | I | Primary key (abstract, implemented by subclass) |
created | Date? | Creation timestamp |
lastUpdate | Date? | Last modification timestamp |
deleted | Boolean | Soft-delete flag |
createdBy | Long? | FK to creating user |
lastUpdateBy | Long? | 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...