PMT-32: Add missing fields to Employee Entity
Some checks failed
Quality Check / Static Analysis (push) Failing after 8s
Quality Check / Validate OAS (push) Successful in 28s
Quality Check / Testing (push) Successful in 1m12s
Quality Check / Linting (push) Successful in 1m19s

This commit is contained in:
Dominik Säume 2024-09-25 11:40:45 +02:00
parent 1d4efc1f2b
commit 3a174b64c1
No known key found for this signature in database
GPG key ID: F5211AA345CF6871

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;