-
Notifications
You must be signed in to change notification settings - Fork 2
feat/#103: AI Meeting 안건지 서비스로직 구분 #113
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
Merged
+258
−61
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
f838d69
feat/#103: docx4j 의존성 추가
djlim2425 8934754
feat/#103: 파일 형식에 따른 이미지변환 로직 추가
djlim2425 ccbf1d8
feat/#103: GPTClient summarizeDocument 수정
djlim2425 5a5f6e1
feat/#103: Meeting Tag관련 entity 추가
djlim2425 80f985a
feat/#103: Tag 관련 Repository 추가
djlim2425 05d852c
feat/#103: text를 추출하여 요약하도록 변경
djlim2425 2efa0b2
refactor/#103: Tag entity명 Keyword로 수정
djlim2425 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
src/main/java/com/haru/api/domain/meeting/entity/Keyword.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| package com.haru.api.domain.meeting.entity; | ||
|
|
||
| import com.haru.api.global.common.entity.BaseEntity; | ||
| import jakarta.persistence.*; | ||
| import lombok.*; | ||
| import org.hibernate.annotations.DynamicInsert; | ||
| import org.hibernate.annotations.DynamicUpdate; | ||
|
|
||
| @Entity | ||
| @Table(name = "keywords") | ||
| @Getter | ||
| @Builder | ||
| @DynamicUpdate | ||
| @DynamicInsert | ||
| @NoArgsConstructor(access = AccessLevel.PROTECTED) | ||
| @AllArgsConstructor | ||
| public class Keyword extends BaseEntity { | ||
|
|
||
| @Id | ||
| @GeneratedValue(strategy = GenerationType.IDENTITY) | ||
| private Long id; | ||
|
|
||
| @Column(nullable = false, unique = true) | ||
| private String name; | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 29 additions & 0 deletions
29
src/main/java/com/haru/api/domain/meeting/entity/MeetingKeyword.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,29 @@ | ||
| package com.haru.api.domain.meeting.entity; | ||
|
|
||
| import com.haru.api.global.common.entity.BaseEntity; | ||
| import jakarta.persistence.*; | ||
| import lombok.*; | ||
| import org.hibernate.annotations.DynamicInsert; | ||
| import org.hibernate.annotations.DynamicUpdate; | ||
|
|
||
| @Entity | ||
| @Table(name = "meeting_tags") | ||
| @Getter | ||
| @Builder | ||
| @DynamicUpdate | ||
| @DynamicInsert | ||
| @NoArgsConstructor(access = AccessLevel.PROTECTED) | ||
| @AllArgsConstructor | ||
| public class MeetingKeyword extends BaseEntity { | ||
|
|
||
| @Id @GeneratedValue(strategy = GenerationType.IDENTITY) | ||
| private Long id; | ||
|
|
||
| @ManyToOne(fetch = FetchType.LAZY) | ||
| @JoinColumn(name = "meeting_id") | ||
| private Meeting meeting; | ||
|
|
||
| @ManyToOne(fetch = FetchType.LAZY) | ||
| @JoinColumn(name = "keyword_id") | ||
| private Keyword keyword; | ||
| } | ||
10 changes: 10 additions & 0 deletions
10
src/main/java/com/haru/api/domain/meeting/repository/KeywordRepository.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| package com.haru.api.domain.meeting.repository; | ||
|
|
||
| import com.haru.api.domain.meeting.entity.Keyword; | ||
| import org.springframework.data.jpa.repository.JpaRepository; | ||
|
|
||
| import java.util.Optional; | ||
|
|
||
| public interface KeywordRepository extends JpaRepository<Keyword, Long> { | ||
| Optional<Keyword> findByName(String name); | ||
| } |
7 changes: 7 additions & 0 deletions
7
src/main/java/com/haru/api/domain/meeting/repository/MeetingKeywordRepository.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| package com.haru.api.domain.meeting.repository; | ||
|
|
||
| import com.haru.api.domain.meeting.entity.MeetingKeyword; | ||
| import org.springframework.data.jpa.repository.JpaRepository; | ||
|
|
||
| public interface MeetingKeywordRepository extends JpaRepository<MeetingKeyword, Long> { | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
테이블명 수정해야할 것 같습니다!