diff --git a/demo/02/src/main/java/pl/amu/edu/demo/data/Person.java b/demo/02/src/main/java/pl/amu/edu/demo/data/Person.java index e1b4463..b2d7453 100644 --- a/demo/02/src/main/java/pl/amu/edu/demo/data/Person.java +++ b/demo/02/src/main/java/pl/amu/edu/demo/data/Person.java @@ -2,12 +2,14 @@ package pl.amu.edu.demo.data; import lombok.AccessLevel; import lombok.AllArgsConstructor; +import lombok.Builder; import lombok.experimental.FieldDefaults; import java.time.LocalDate; -@AllArgsConstructor +@AllArgsConstructor(access = AccessLevel.PRIVATE) @FieldDefaults(level = AccessLevel.PUBLIC, makeFinal = true) +@Builder public class Person { String displayName; String firstName;