Spring/study for project 빌더 패턴 @Builder @AllArgsConstructor melitina 2024. 8. 18. 19:24 https://resilient-923.tistory.com/418 [Spring/Java] @Builder 패턴 사용시 @AllArgsConstructor를 사용하는 이유 현재 개발을 할 때, 일반적으로 Entity 객체를 생성하는 경우 Lombok 라이브러리를 사용해서 빌더 패턴을 적용하고 있습니다. Entity 클래스에 적용된 어노테이션 중 @Builder라는 어노테이션이 있는데 resilient-923.tistory.com https://devlog-wjdrbs96.tistory.com/419 [Spring] @Builder를 사용할 때 고려해야 할 생성자 문제 알아보기 @Builder, @AllArgsConstructor 알아보기 이번 글에서는 @Builder, @AllArgsConstructor, @NoArgsConstructor 애노테이션을 사용할 때 알아야 할 점에 대해서 정리해보겠습니다. 위와 같이 @Builder, @NoArgsConstructor를 사용 devlog-wjdrbs96.tistory.com