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 }