Skip to content

박소해 과제제출#8

Open
S2gamzaS2 wants to merge 12 commits intosparta-standard:mainfrom
S2gamzaS2:parksh
Open

박소해 과제제출#8
S2gamzaS2 wants to merge 12 commits intosparta-standard:mainfrom
S2gamzaS2:parksh

Conversation

@S2gamzaS2
Copy link

게시판 프로젝트 과제 제출합니다.

S2gamzaS2 added 12 commits April 2, 2025 01:00
- record 사용
- 게시글 생성, 수정 시 요청 Dto
- 댓글 생성, 수정 시 요청 Dto
- record 사용
- 게시글 단건 조회시 응답 Dto
- 댓글 조회시 응답 Dto
- 모든 데이터의 생성/수정/삭제 시 변경 시점에 대한 데이터가 자동으로 관리 되도록 JPA Audit 기능 설정
- BaseTimeEntity 상속
- Comment: Post 엔티티와 N:1 관계 설정
- PostService 구현 (CRUD)
- Post/Comment Repository 인터페이스 구현
- PostMapper, CommentMapper 구현
- PostGetResponseDto와 CommentGetResponseDto에 Builder 패턴 적용
- Post 엔티티에 updateOf 메서드 추가
- CommentService 구현 (CRUD)
- CommentRepository에 Id로 Comment 조회하는 메서드 추가
- CommentMapper에 dto->entity 변환하는 메서드 추가
- Comment 엔티티에 updateOf 메서드 추가
- PostController: 페이지, 페이지사이즈 디폴트값 설정
- getPostList 메서드 구현, createdAt을 기준으로 내림차순 정렬
- Post엔티티를 PostResponseDto로 변환하는 매퍼 추가
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant