From 2953e81da9e9fa8e94e1fab87c63c1de82355bd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20S=C3=A4ume?= Date: Wed, 25 Sep 2024 12:10:40 +0200 Subject: [PATCH] PMT-32: Rename End to Real End, because of Conflict with SQL syntax --- src/main/java/de/hmmh/pmt/db/Project.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/de/hmmh/pmt/db/Project.java b/src/main/java/de/hmmh/pmt/db/Project.java index ad53770..9c9891f 100644 --- a/src/main/java/de/hmmh/pmt/db/Project.java +++ b/src/main/java/de/hmmh/pmt/db/Project.java @@ -17,7 +17,7 @@ import java.time.LocalDateTime; @Setter @Entity @Table(name = "project") -public final class Project { +public class Project { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) private Long id; @@ -42,6 +42,6 @@ public final class Project { @NotNull private LocalDateTime plannedEnd; - private LocalDateTime end; + private LocalDateTime realEnd; // Cant be named just "end" because it's and SQL Keyword }