diff --git a/basics/README.adoc b/basics/README.adoc index 08a5267..dae5cf5 100644 --- a/basics/README.adoc +++ b/basics/README.adoc @@ -14,7 +14,7 @@ The cornerstone of any example is the domain object: ---- @Data @Entity -@NoArgsConstructor(access = AccessLevel.PRIVATE) +@NoArgsConstructor(access = AccessLevel.PROTECTED) @AllArgsConstructor @JsonIgnoreProperties(ignoreUnknown = true) class Employee {