EN · DE · RU · FR · ES

#1062: AccountingRecordMonthKey.kt

projectforge-business/src/main/kotlin/org/projectforge/business/scripting/support/AccountingRecordMonthKey.kt Kotlin-Klasse, projectforge-business/src/main/kotlin/org/projectforge/business/scripting/support/AccountingRecordMonthKey.kt 34 Zeilen · 6 Code · 25 Kommentare · 3 leer
Zweck: Quelldatei: business/scripting/support/AccountingRecordMonthKey.kt. AccountingRecordMonthKey.kt ist Teil der Open-Source-Projektmanagement-Anwendung ProjectForge.

Quelltext (erste 100 Zeilen)

/////////////////////////////////////////////////////////////////////////////
//
// Project ProjectForge Community Edition
//         www.projectforge.org
//
// Copyright (C) 2001-2026 Micromata GmbH, Deutschland (www.micromata.com)
//
// ProjectForge ist dual-lizenziert.
//
// Diese Community-Edition ist freie Software; Sie können sie weiterverbreiten und/oder
// modifizieren unter den Bedingungen der GNU General Public License, wie veröffentlicht
// von der Free Software Foundation; Version 3 der Lizenz.
//
// Diese Community-Edition wird in der Hoffnung verteilt, dass sie nützlich sein wird,
// aber OHNE JEGLICHE GEWÄHRLEISTUNG; ohne die stillschweigende Garantie der
// MARKTGÄNGIGKEIT oder EIGNUNG FÜR EINEN BESTIMMTEN ZWECK. Siehe die GNU General
// Public License für weitere Details.
//
// Sie sollten eine Kopie der GNU General Public License zusammen mit diesem
// Programm erhalten haben; falls nicht, siehe http://www.gnu.org/licenses/.
//
/////////////////////////////////////////////////////////////////////////////

package org.projectforge.business.scripting.support

/**
 * Wird für die Aggregation der Buchungssätze nach Monaten und Projekten benötigt.
 */
data class AccountingRecordMonthKey(
  val projectId: Long,
  val year: Int,
  val month: Int,
)

Git-Verlauf

868d6abb7 2025 -> 2026
63081666f Quelldatei-Header: 2024 -> 2025.
4c04cfd65 MAJOR-CHANGE! Migration von Integer-IDs zu Long-IDs (einschließlich Fremdschlüsseln usw.)
b6092df09 Copyright 2023 -> 2024
ab45d51fa Copyright 2001-2022 -> 2001-2023.

868d6abb7

2025 -> 2026
868d6abb75cd191a892911ac8e45058932cf9074
diff --git a/projectforge-business/src/main/kotlin/org/projectforge/business/scripting/support/AccountingRecordMonthKey.kt b/projectforge-business/src/main/kotlin/org/projectforge/business/scripting/support/AccountingRecordMonthKey.kt
index 66495e602..066a2472b 100644
--- a/projectforge-business/src/main/kotlin/org/projectforge/business/scripting/support/AccountingRecordMonthKey.kt
+++ b/projectforge-business/src/main/kotlin/org/projectforge/business/scripting/support/AccountingRecordMonthKey.kt
@@ -3,7 +3,7 @@
 // Project ProjectForge Community Edition
 //         www.projectforge.org
 //
-// Copyright (C) 2001-2025 Micromata GmbH, Germany (www.micromata.com)
+// Copyright (C) 2001-2026 Micromata GmbH, Germany (www.micromata.com)
 //
 // ProjectForge is dual-licensed.
 //

63081666f

Quelldatei-Header: 2024 -> 2025.
63081666f620fb87315f01b817e560e0b2f6a33a
diff --git a/projectforge-business/src/main/kotlin/org/projectforge/business/scripting/support/AccountingRecordMonthKey.kt b/projectforge-business/src/main/kotlin/org/projectforge/business/scripting/support/AccountingRecordMonthKey.kt
index 99e713929..66495e602 100644
--- a/projectforge-business/src/main/kotlin/org/projectforge/business/scripting/support/AccountingRecordMonthKey.kt
+++ b/projectforge-business/src/main/kotlin/org/projectforge/business/scripting/support/AccountingRecordMonthKey.kt
@@ -3,7 +3,7 @@
 // Project ProjectForge Community Edition
 //         www.projectforge.org
 //
-// Copyright (C) 2001-2024 Micromata GmbH, Germany (www.micromata.com)
+// Copyright (C) 2001-2025 Micromata GmbH, Germany (www.micromata.com)
 //
 // ProjectForge is dual-licensed.
 //

4c04cfd65

MAJOR-CHANGE! Migration von Integer-IDs zu Long-IDs (einschließlich Fremdschlüsseln usw.)
4c04cfd652210afe373d55f53a5300c85997b109
diff --git a/projectforge-business/src/main/kotlin/org/projectforge/business/scripting/support/AccountingRecordMonthKey.kt b/projectforge-business/src/main/kotlin/org/projectforge/business/scripting/support/AccountingRecordMonthKey.kt
index 157a582e3..99e713929 100644
--- a/projectforge-business/src/main/kotlin/org/projectforge/business/scripting/support/AccountingRecordMonthKey.kt
+++ b/projectforge-business/src/main/kotlin/org/projectforge/business/scripting/support/AccountingRecordMonthKey.kt
@@ -27,7 +27,7 @@ package org.projectforge.business.scripting.support
  * Wird für die Aggregation der Buchungssätze nach Monaten und Projekten benötigt.
  */
 data class AccountingRecordMonthKey(
-  val projectId: Int,
+  val projectId: Long,
   val year: Int,
   val month: Int,
 )

b6092df09

Copyright 2023 -> 2024
b6092df0927c4a3b161e888445f31dcab57493f2
diff --git a/projectforge-business/src/main/kotlin/org/projectforge/business/scripting/support/AccountingRecordMonthKey.kt b/projectforge-business/src/main/kotlin/org/projectforge/business/scripting/support/AccountingRecordMonthKey.kt
index 157101fc1..157a582e3 100644
--- a/projectforge-business/src/main/kotlin/org/projectforge/business/scripting/support/AccountingRecordMonthKey.kt
+++ b/projectforge-business/src/main/kotlin/org/projectforge/business/scripting/support/AccountingRecordMonthKey.kt
@@ -3,7 +3,7 @@
 // Project ProjectForge Community Edition
 //         www.projectforge.org
 //
-// Copyright (C) 2001-2023 Micromata GmbH, Germany (www.micromata.com)
+// Copyright (C) 2001-2024 Micromata GmbH, Germany (www.micromata.com)
 //
 // ProjectForge is dual-licensed.
 //

ab45d51fa

Copyright 2001-2022 -> 2001-2023.
ab45d51fa419ede6174b31d69987f96d4b841ff9
diff --git a/projectforge-business/src/main/kotlin/org/projectforge/business/scripting/support/AccountingRecordMonthKey.kt b/projectforge-business/src/main/kotlin/org/projectforge/business/scripting/support/AccountingRecordMonthKey.kt
index 7a02be0c6..157101fc1 100644
--- a/projectforge-business/src/main/kotlin/org/projectforge/business/scripting/support/AccountingRecordMonthKey.kt
+++ b/projectforge-business/src/main/kotlin/org/projectforge/business/scripting/support/AccountingRecordMonthKey.kt
@@ -3,7 +3,7 @@
 // Project ProjectForge Community Edition
 //         www.projectforge.org
 //
-// Copyright (C) 2001-2022 Micromata GmbH, Germany (www.micromata.com)
+// Copyright (C) 2001-2023 Micromata GmbH, Germany (www.micromata.com)
 //
 // ProjectForge is dual-licensed.
 //