Skip to content

Commit

Permalink
[FEATURE] 투두리스트 및 폴더 관련 주석 추가 (#93)
Browse files Browse the repository at this point in the history
* [REFACTOR] 팔레트 관련 주석 추가

* [REFACTOR] 투두리스트 관련 주석 추가

* [REFACTOR] 투두리스트 폴더 관련 주석 추가
  • Loading branch information
kyukong authored Jan 30, 2024
1 parent 1abf5e5 commit 39a674d
Show file tree
Hide file tree
Showing 13 changed files with 52 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/java/kr/sesac/aoao/server/todo/domain/Palette.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

import lombok.Getter;

/**
* @since 2024.01.22
* @author 김유빈
*/
@Getter
public enum Palette {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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, "존재하지 않는 투두리스트 폴더입니다."),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
import lombok.Getter;
import lombok.NoArgsConstructor;

/**
* @since 2024.01.22
* @author 김유빈
*/
@Getter
@Entity
@Table(name = "palette")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,9 @@

import org.springframework.data.jpa.repository.JpaRepository;

/**
* @since 2024.01.22
* @author 김유빈
*/
public interface PaletteJpaRepository extends JpaRepository<PaletteEntity, Long> {
}
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@
import lombok.Getter;
import lombok.NoArgsConstructor;

/**
* @since 2024.01.24
* @author 김유빈
*/
@Getter
@Entity
@Table(name = "todo")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@
import lombok.Getter;
import lombok.NoArgsConstructor;

/**
* @since 2024.01.22
* @author 김유빈
*/
@Getter
@Entity
@Table(name = "todo_folder")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@

import kr.sesac.aoao.server.user.repository.UserEntity;

/**
* @since 2024.01.22
* @author 김유빈
*/
public interface TodoFolderJpaRepository extends JpaRepository<TodoFolderEntity, Long> {

List<TodoFolderEntity> findBySelectedDateAndUser(LocalDate date, UserEntity user);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,9 @@

import org.springframework.data.jpa.repository.JpaRepository;

/**
* @since 2024.01.24
* @author 김유빈
*/
public interface TodoJpaRepository extends JpaRepository<TodoEntity, Long> {
}
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 39a674d

Please sign in to comment.