diff --git a/demo/02/src/main/java/pl/amu/edu/demo/data/Housing.java b/demo/02/src/main/java/pl/amu/edu/demo/data/Housing.java index 79d0f71..e8b8a41 100644 --- a/demo/02/src/main/java/pl/amu/edu/demo/data/Housing.java +++ b/demo/02/src/main/java/pl/amu/edu/demo/data/Housing.java @@ -2,11 +2,14 @@ package pl.amu.edu.demo.data; import lombok.AccessLevel; import lombok.AllArgsConstructor; +import lombok.Builder; import lombok.experimental.FieldDefaults; -@AllArgsConstructor +@AllArgsConstructor(access = AccessLevel.PRIVATE) @FieldDefaults(level = AccessLevel.PUBLIC, makeFinal = true) +@Builder public class Housing { Address address; boolean isApartment; + Double area; }