728x90
@RequiredArgsConstructor
을 쓰면
public ReplyServiceImpl(ReplyRepository replyRepository) {
this.replyRepository = replyRepository;
}
랑 같은 의미 생성자를 주입 시켜줌.
@RequiredArgsConstructor
을 쓰면
public ReplyServiceImpl(ReplyRepository replyRepository) {
this.replyRepository = replyRepository;
}
랑 같은 의미 생성자를 주입 시켜줌.
IT'S DO
@멋진놈
포스팅이 좋았다면 "좋아요❤️" 또는 "구독👍🏻" 해주세요!