PMT-32: Add missing fields to Employee Entity

This commit is contained in:
Dominik Säume 2024-09-25 11:40:45 +02:00 committed by Dominik Säume
parent 219a5e52c0
commit 5104c3934f
Signed by: SZUT-Dominik
GPG key ID: 67D15BB250B41E7C

View file

@ -26,6 +26,16 @@ public final class Project {
@Size(min = 3, max = 64) @Size(min = 3, max = 64)
private String name; private String name;
@NotBlank
@Size(min = 10)
private String goal;
@NotNull
private Long customerId;
@NotNull
private Long administratorId; // Is an Employee
@NotNull @NotNull
private LocalDateTime start; private LocalDateTime start;