Skip to content

Commit

Permalink
[REFACTOR] 다이어리 주석 추가 (#98)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeong-yooon authored Jan 30, 2024
1 parent 6d9b548 commit 14b949e
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
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.23
* @author 최정윤
*/
@RequiredArgsConstructor
public enum DiaryErrorCode implements ErrorCode {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
import lombok.Getter;
import lombok.NoArgsConstructor;

/**
* @since 2024.01.23
* @author 최정윤
*/
@Getter
@Entity
@Table(name = "diary")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@

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

/**
* @since 2024.01.23
* @author 최정윤
*/
public interface DiaryJpaRepository extends JpaRepository<DiaryEntity, Long> {

Optional<DiaryEntity> findByUser(UserEntity user);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
import kr.sesac.aoao.server.diary.controller.dto.request.DiaryUpdateRequest;
import kr.sesac.aoao.server.diary.controller.dto.response.GetDiaryResponse;

/**
* @since 2024.01.23
* @author 최정윤
*/
@Service
public interface DiaryService {

Expand Down

0 comments on commit 14b949e

Please sign in to comment.