#1091: TeamEventAttachmentDO.kt

projectforge-business/src/main/kotlin/org/projectforge/business/teamcal/event/model/TeamEventAttachmentDO.kt JPA Entity / Team Calendar Event, projectforge-business/src/main/kotlin/org/projectforge/business/teamcal/event/model/TeamEventAttachmentDO.kt 95 lines · 48 code · 37 comments · 10 blank
JPA entity for calendar event attachments (table T_PLUGIN_CALENDAR_EVENT_ATTACHMENT), extending DefaultBaseDO and implementing IMailAttachment. Fields: filename and content (byte array). Implements Comparable (by id, then by string representation) for ordered display. Equals/hashCode compare by id or by filename+content. Used for storing file attachments on team calendar events.

Git History

868d6abb7 2025 -> 2026
b309e9be9 MailAttachments improved (effected BirthdayButler, Polls). E-Mail is sent automatically, if nightly sanity check has errors.
63081666f Source file headers: 2024-> 2025.
1ffa5a1ef WIP: gradle...
c1d14ecdb Migration stuff in progress...
c04fb0d51 Migration stuff in progress...
06828f490 Migration stuff in progress...
b6092df09 Copyright 2023 -> 2024
ab45d51fa Copyright 2001-2022 -> 2001-2023.
4def09990 Deprecated Kotlin functions: toLowerCase -> lowerCase, toUpperCase -> uppercase.
5f7ef41b8 Copyright 2021 -> 2022
c0f2b9de0 Tenants functionality removed everywhere (untested).
ceb63e8a1 Source code header: (C) 2001-2021.
7c79f1922 Copyright of source header -> 2020.
8675a1dbe Found big performance issue: Declared all Kotlin JPA entities and their properties as open. Lazy loading wasn't supported by Hibernate and results in thousands of JPA queries...
ca5a7c00f Optimize Imports
13efef1ee TeamEventDO.java -> TeamEventDO.kt