Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[고도화] 댓글 기능 고도화 - 1차 대댓글: 도메인 업데이트 #86

Merged
merged 1 commit into from
Feb 27, 2023

Conversation

GGHDMS
Copy link
Owner

@GGHDMS GGHDMS commented Feb 27, 2023

1차 대댓글 개발을 위해 도메인을 업데이트 한다.

Tis closes #82

대댓글 도메인 안에서 부모, 자식 관계를 설정하는 코드 추가
부모 엔티티의 상태 변화에 따라 자식 엔티티의 상태를 자동으로 처리하기 위해 cascade 적용
단반향 연관 관계를 적용하기 위해서 자식에서 부모 댓글은 엔티티가 아니라 `Long` id 로 직접 표현

또한 자식 댓글을 추가할 수 있는 메소드 추가
@GGHDMS GGHDMS added the enhancement New feature or request label Feb 27, 2023
@GGHDMS GGHDMS added this to the 게시판 서비스 만들기 milestone Feb 27, 2023
@GGHDMS GGHDMS self-assigned this Feb 27, 2023
Copy link
Owner Author

@GGHDMS GGHDMS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@GGHDMS GGHDMS merged commit a144d39 into feature/#64-child-comments Feb 27, 2023
@GGHDMS GGHDMS deleted the feature/#82-comments-domain branch February 27, 2023 07:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant