From 39a674d9c6cf6ccac9c8929d3dda83617bbb27df Mon Sep 17 00:00:00 2001 From: kyukong <92148749+kyukong@users.noreply.github.com> Date: Tue, 30 Jan 2024 17:21:54 +0900 Subject: [PATCH] =?UTF-8?q?[FEATURE]=20=ED=88=AC=EB=91=90=EB=A6=AC?= =?UTF-8?q?=EC=8A=A4=ED=8A=B8=20=EB=B0=8F=20=ED=8F=B4=EB=8D=94=20=EA=B4=80?= =?UTF-8?q?=EB=A0=A8=20=EC=A3=BC=EC=84=9D=20=EC=B6=94=EA=B0=80=20(#93)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * [REFACTOR] 팔레트 관련 주석 추가 * [REFACTOR] 투두리스트 관련 주석 추가 * [REFACTOR] 투두리스트 폴더 관련 주석 추가 --- src/main/java/kr/sesac/aoao/server/todo/domain/Palette.java | 4 ++++ .../kr/sesac/aoao/server/todo/exception/PaletteErrorCode.java | 4 ++++ .../kr/sesac/aoao/server/todo/exception/TodoErrorCode.java | 4 ++++ .../sesac/aoao/server/todo/exception/TodoFolderErrorCode.java | 4 ++++ .../kr/sesac/aoao/server/todo/repository/PaletteEntity.java | 4 ++++ .../aoao/server/todo/repository/PaletteJpaRepository.java | 4 ++++ .../java/kr/sesac/aoao/server/todo/repository/TodoEntity.java | 4 ++++ .../sesac/aoao/server/todo/repository/TodoFolderEntity.java | 4 ++++ .../aoao/server/todo/repository/TodoFolderJpaRepository.java | 4 ++++ .../sesac/aoao/server/todo/repository/TodoJpaRepository.java | 4 ++++ .../kr/sesac/aoao/server/todo/service/TodoFolderService.java | 4 ++++ .../kr/sesac/aoao/server/todo/service/TodoQueryService.java | 4 ++++ .../java/kr/sesac/aoao/server/todo/service/TodoService.java | 4 ++++ 13 files changed, 52 insertions(+) diff --git a/src/main/java/kr/sesac/aoao/server/todo/domain/Palette.java b/src/main/java/kr/sesac/aoao/server/todo/domain/Palette.java index ef6890d..e866e27 100644 --- a/src/main/java/kr/sesac/aoao/server/todo/domain/Palette.java +++ b/src/main/java/kr/sesac/aoao/server/todo/domain/Palette.java @@ -2,6 +2,10 @@ import lombok.Getter; +/** + * @since 2024.01.22 + * @author 김유빈 + */ @Getter public enum Palette { diff --git a/src/main/java/kr/sesac/aoao/server/todo/exception/PaletteErrorCode.java b/src/main/java/kr/sesac/aoao/server/todo/exception/PaletteErrorCode.java index 31ce37f..886d0fc 100644 --- a/src/main/java/kr/sesac/aoao/server/todo/exception/PaletteErrorCode.java +++ b/src/main/java/kr/sesac/aoao/server/todo/exception/PaletteErrorCode.java @@ -5,6 +5,10 @@ import kr.sesac.aoao.server.global.exception.ErrorCode; import lombok.RequiredArgsConstructor; +/** + * @since 2024.01.22 + * @author 김유빈 + */ @RequiredArgsConstructor public enum PaletteErrorCode implements ErrorCode { diff --git a/src/main/java/kr/sesac/aoao/server/todo/exception/TodoErrorCode.java b/src/main/java/kr/sesac/aoao/server/todo/exception/TodoErrorCode.java index 1e4336b..008455c 100644 --- a/src/main/java/kr/sesac/aoao/server/todo/exception/TodoErrorCode.java +++ b/src/main/java/kr/sesac/aoao/server/todo/exception/TodoErrorCode.java @@ -5,6 +5,10 @@ import kr.sesac.aoao.server.global.exception.ErrorCode; import lombok.RequiredArgsConstructor; +/** + * @since 2024.01.24 + * @author 김유빈 + */ @RequiredArgsConstructor public enum TodoErrorCode implements ErrorCode { diff --git a/src/main/java/kr/sesac/aoao/server/todo/exception/TodoFolderErrorCode.java b/src/main/java/kr/sesac/aoao/server/todo/exception/TodoFolderErrorCode.java index 97aaf8c..d72add4 100644 --- a/src/main/java/kr/sesac/aoao/server/todo/exception/TodoFolderErrorCode.java +++ b/src/main/java/kr/sesac/aoao/server/todo/exception/TodoFolderErrorCode.java @@ -4,6 +4,10 @@ import kr.sesac.aoao.server.global.exception.ErrorCode; +/** + * @since 2024.01.23 + * @author 김유빈 + */ public enum TodoFolderErrorCode implements ErrorCode { NOT_EXIST(HttpStatus.BAD_REQUEST, "존재하지 않는 투두리스트 폴더입니다."), diff --git a/src/main/java/kr/sesac/aoao/server/todo/repository/PaletteEntity.java b/src/main/java/kr/sesac/aoao/server/todo/repository/PaletteEntity.java index 5f271b4..6a69052 100644 --- a/src/main/java/kr/sesac/aoao/server/todo/repository/PaletteEntity.java +++ b/src/main/java/kr/sesac/aoao/server/todo/repository/PaletteEntity.java @@ -12,6 +12,10 @@ import lombok.Getter; import lombok.NoArgsConstructor; +/** + * @since 2024.01.22 + * @author 김유빈 + */ @Getter @Entity @Table(name = "palette") diff --git a/src/main/java/kr/sesac/aoao/server/todo/repository/PaletteJpaRepository.java b/src/main/java/kr/sesac/aoao/server/todo/repository/PaletteJpaRepository.java index c7f2f81..db4e8d9 100644 --- a/src/main/java/kr/sesac/aoao/server/todo/repository/PaletteJpaRepository.java +++ b/src/main/java/kr/sesac/aoao/server/todo/repository/PaletteJpaRepository.java @@ -2,5 +2,9 @@ import org.springframework.data.jpa.repository.JpaRepository; +/** + * @since 2024.01.22 + * @author 김유빈 + */ public interface PaletteJpaRepository extends JpaRepository { } diff --git a/src/main/java/kr/sesac/aoao/server/todo/repository/TodoEntity.java b/src/main/java/kr/sesac/aoao/server/todo/repository/TodoEntity.java index 6079052..2942d0b 100644 --- a/src/main/java/kr/sesac/aoao/server/todo/repository/TodoEntity.java +++ b/src/main/java/kr/sesac/aoao/server/todo/repository/TodoEntity.java @@ -15,6 +15,10 @@ import lombok.Getter; import lombok.NoArgsConstructor; +/** + * @since 2024.01.24 + * @author 김유빈 + */ @Getter @Entity @Table(name = "todo") diff --git a/src/main/java/kr/sesac/aoao/server/todo/repository/TodoFolderEntity.java b/src/main/java/kr/sesac/aoao/server/todo/repository/TodoFolderEntity.java index d2a7da6..50b38b6 100644 --- a/src/main/java/kr/sesac/aoao/server/todo/repository/TodoFolderEntity.java +++ b/src/main/java/kr/sesac/aoao/server/todo/repository/TodoFolderEntity.java @@ -22,6 +22,10 @@ import lombok.Getter; import lombok.NoArgsConstructor; +/** + * @since 2024.01.22 + * @author 김유빈 + */ @Getter @Entity @Table(name = "todo_folder") diff --git a/src/main/java/kr/sesac/aoao/server/todo/repository/TodoFolderJpaRepository.java b/src/main/java/kr/sesac/aoao/server/todo/repository/TodoFolderJpaRepository.java index 655a514..645d9bb 100644 --- a/src/main/java/kr/sesac/aoao/server/todo/repository/TodoFolderJpaRepository.java +++ b/src/main/java/kr/sesac/aoao/server/todo/repository/TodoFolderJpaRepository.java @@ -8,6 +8,10 @@ import kr.sesac.aoao.server.user.repository.UserEntity; +/** + * @since 2024.01.22 + * @author 김유빈 + */ public interface TodoFolderJpaRepository extends JpaRepository { List findBySelectedDateAndUser(LocalDate date, UserEntity user); diff --git a/src/main/java/kr/sesac/aoao/server/todo/repository/TodoJpaRepository.java b/src/main/java/kr/sesac/aoao/server/todo/repository/TodoJpaRepository.java index 3361ec1..98bbaaf 100644 --- a/src/main/java/kr/sesac/aoao/server/todo/repository/TodoJpaRepository.java +++ b/src/main/java/kr/sesac/aoao/server/todo/repository/TodoJpaRepository.java @@ -2,5 +2,9 @@ import org.springframework.data.jpa.repository.JpaRepository; +/** + * @since 2024.01.24 + * @author 김유빈 + */ public interface TodoJpaRepository extends JpaRepository { } diff --git a/src/main/java/kr/sesac/aoao/server/todo/service/TodoFolderService.java b/src/main/java/kr/sesac/aoao/server/todo/service/TodoFolderService.java index 9c07a4d..12f20c4 100644 --- a/src/main/java/kr/sesac/aoao/server/todo/service/TodoFolderService.java +++ b/src/main/java/kr/sesac/aoao/server/todo/service/TodoFolderService.java @@ -4,6 +4,10 @@ import kr.sesac.aoao.server.todo.controller.dto.request.TodoFolderUpdateRequest; import kr.sesac.aoao.server.user.jwt.UserCustomDetails; +/** + * @since 2024.01.22 + * @author 김유빈 + */ public interface TodoFolderService { Long save(UserCustomDetails userDetails, TodoFolderSaveRequest request); diff --git a/src/main/java/kr/sesac/aoao/server/todo/service/TodoQueryService.java b/src/main/java/kr/sesac/aoao/server/todo/service/TodoQueryService.java index 9a36aae..5beac6a 100644 --- a/src/main/java/kr/sesac/aoao/server/todo/service/TodoQueryService.java +++ b/src/main/java/kr/sesac/aoao/server/todo/service/TodoQueryService.java @@ -5,6 +5,10 @@ import kr.sesac.aoao.server.todo.controller.dto.response.TodoQueryDetailResponse; import kr.sesac.aoao.server.user.jwt.UserCustomDetails; +/** + * @since 2024.01.24 + * @author 김유빈 + */ public interface TodoQueryService { TodoQueryDetailResponse findAllTodos(UserCustomDetails userDetails, String date); diff --git a/src/main/java/kr/sesac/aoao/server/todo/service/TodoService.java b/src/main/java/kr/sesac/aoao/server/todo/service/TodoService.java index 52b2e7f..d9408e4 100644 --- a/src/main/java/kr/sesac/aoao/server/todo/service/TodoService.java +++ b/src/main/java/kr/sesac/aoao/server/todo/service/TodoService.java @@ -4,6 +4,10 @@ import kr.sesac.aoao.server.todo.controller.dto.request.TodoUpdateRequest; import kr.sesac.aoao.server.user.jwt.UserCustomDetails; +/** + * @since 2024.01.24 + * @author 김유빈 + */ public interface TodoService { long save(UserCustomDetails userDetails, Long folderId, TodoSaveRequest request);