-
Notifications
You must be signed in to change notification settings - Fork 2
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
[Feat/#59] 회의실 나가기 기능 및 안건 수정 기능 개발, 기획 변경으로 인한 코드 수정 #63
Merged
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
c5bc1b2
[#59] feat: Implement leaving meeting feature
Starlight258 ae8b707
[#59] refactor: Refactor member retrieving feature to allow even with…
Starlight258 9827e35
[#59] refactor: Refactor meeting retrieving feature to allow even wit…
Starlight258 f7f9838
[#60] feat: Implement patching agenda feature
Starlight258 cc7148a
[#-] refactor: Enhance convertLocalTimeToDuration to include seconds …
Starlight258 cea9e07
[#-] feat: Add host information to participant lookup API
Starlight258 4fa3ea9
[#-] remove: remove meeting auto-end scheduling due to plan changes
Starlight258 d710069
[#-] remove: Remove meeting start scheduling feature due to plan changes
Starlight258 0c6aa2c
[#-] feat: Implement starting automatically with the first agenda ini…
Starlight258 ec84858
Merge branch 'dev' into feat/meeting-agenda-updates
Starlight258 2a07f89
[#-] remove: Remove orderNum from request and response dto
Starlight258 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 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
22 changes: 22 additions & 0 deletions
22
src/main/java/org/dnd/timeet/agenda/dto/AgendaPatchRequest.java
This file contains 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,22 @@ | ||
package org.dnd.timeet.agenda.dto; | ||
|
||
import io.swagger.v3.oas.annotations.media.Schema; | ||
import java.time.LocalTime; | ||
import lombok.Getter; | ||
import lombok.NoArgsConstructor; | ||
import lombok.Setter; | ||
import org.springframework.format.annotation.DateTimeFormat; | ||
|
||
@Schema(description = "안건 수정 요청") | ||
@Getter | ||
@Setter | ||
@NoArgsConstructor | ||
public class AgendaPatchRequest { | ||
|
||
@Schema(description = "안건 제목", example = "브레인스토밍") | ||
private String title; | ||
|
||
@DateTimeFormat(pattern = "HH:mm:ss") | ||
@Schema(description = "안건 소요 시간", example = "01:20:00") | ||
private LocalTime allocatedDuration; | ||
} |
31 changes: 31 additions & 0 deletions
31
src/main/java/org/dnd/timeet/agenda/dto/AgendaPatchResponse.java
This file contains 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,31 @@ | ||
package org.dnd.timeet.agenda.dto; | ||
|
||
import io.swagger.v3.oas.annotations.media.Schema; | ||
import jakarta.validation.constraints.NotNull; | ||
import lombok.Getter; | ||
import lombok.Setter; | ||
import org.dnd.timeet.agenda.domain.Agenda; | ||
import org.dnd.timeet.common.utils.DurationUtils; | ||
|
||
@Schema(description = "안건 수정 응답") | ||
@Getter | ||
@Setter | ||
public class AgendaPatchResponse { | ||
|
||
@Schema(description = "안건 id", example = "12") | ||
private Long agendaId; | ||
|
||
@Schema(description = "안건 제목", example = "안건 1") | ||
private String title; | ||
|
||
@NotNull(message = "안건 소요 시간은 반드시 입력되어야 합니다") | ||
@Schema(description = "안건 소요 시간", example = "01:20:00") | ||
private String allocatedDuration; | ||
|
||
public AgendaPatchResponse(Agenda agenda) { | ||
this.agendaId = agenda.getId(); | ||
this.title = agenda.getTitle(); | ||
this.allocatedDuration = DurationUtils.formatDuration(agenda.getAllocatedDuration()); | ||
} | ||
|
||
} |
This file contains 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
This file contains 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
This file contains 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.
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.
existsById 활용하여 컬럼 존재 여부 확인 좋습니다. 👍