diff --git a/src/main/java/de/hmmh/pmt/db/Project.java b/src/main/java/de/hmmh/pmt/db/Project.java index fefdc7c..ad53770 100644 --- a/src/main/java/de/hmmh/pmt/db/Project.java +++ b/src/main/java/de/hmmh/pmt/db/Project.java @@ -26,6 +26,16 @@ public final class Project { @Size(min = 3, max = 64) private String name; + @NotBlank + @Size(min = 10) + private String goal; + + @NotNull + private Long customerId; + + @NotNull + private Long administratorId; // Is an Employee + @NotNull private LocalDateTime start;