PMT-32: Add missing fields to Employee Entity
This commit is contained in:
parent
1d4efc1f2b
commit
3a174b64c1
1 changed files with 10 additions and 0 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue