#1029: VisitorbookEntryDO.kt

projectforge-business/src/main/kotlin/org/projectforge/business/orga/VisitorbookEntryDO.kt JPA Entity (Visitorbook Entry), projectforge-business/src/main/kotlin/org/projectforge/business/orga/VisitorbookEntryDO.kt 77 lines · 42 code · 27 comments · 8 blank
Child entity representing a single visit by a visitor. Maps to t_orga_visitorbook_entry. Each entry records date of visit, arrival/departure times (as strings for flexibility), and an optional comment. Annotated @WithHistory for history tracking.

Design

Implements Serializable and extends AbstractBaseDO<Long> rather than DefaultBaseDO — giving it a manually defined @Id with @GeneratedValue. References parent VisitorbookDO via lazy ManyToOne. Time fields (arrived, departed) are plain strings for free-form time entry.

Git History

868d6abb7 2025 -> 2026
63081666f Source file headers: 2024-> 2025.
0237d5eba Json serialization refactored: IdOnlySerializer and IdsOnlySerializer introduced.
18bf92219 WIP: History entries handling. VisitorBookDao.
1ffa5a1ef WIP: gradle...
7bc8f49c9 Migration stuff in progress...
d6ad9ea38 Migration stuff in progress...
66ec668f6 Migration stuff in progress...
c8f8ed935 Declared all entities as FetchType.LAZY (was EAGER).
4c04cfd65 MAJOR-CHANGE! Migration of integer id's to Long id's.
e4545c8e1 Migration stuff in progress...
6b97dff2a Migration stuff in progress...
ee106100c MIgration of timed attributes (employees and visitorbook)