-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: 댓글방 내 공모 일정 조회 기능 구현 Co-authored-by: Dora Choo <choo000407@naver.com> * refactor: 공모 일정 조회 api 명세 변경 Co-authored-by: Dora Choo <choo000407@naver.com> --------- Co-authored-by: Dora Choo <choo000407@naver.com>
- Loading branch information
1 parent
05b167c
commit 9a49064
Showing
5 changed files
with
51 additions
and
0 deletions.
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
14 changes: 14 additions & 0 deletions
14
backend/src/main/java/com/zzang/chongdae/offering/domain/OfferingMeeting.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,14 @@ | ||
package com.zzang.chongdae.offering.domain; | ||
|
||
import java.time.LocalDateTime; | ||
import lombok.AllArgsConstructor; | ||
import lombok.Getter; | ||
|
||
@Getter | ||
@AllArgsConstructor | ||
public class OfferingMeeting { | ||
|
||
private final LocalDateTime deadline; | ||
private final String meetingAddress; | ||
private final String meetingAddressDetail; | ||
} |
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
16 changes: 16 additions & 0 deletions
16
backend/src/main/java/com/zzang/chongdae/offering/service/dto/OfferingMeetingResponse.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,16 @@ | ||
package com.zzang.chongdae.offering.service.dto; | ||
|
||
import com.zzang.chongdae.offering.domain.OfferingMeeting; | ||
import java.time.LocalDateTime; | ||
|
||
public record OfferingMeetingResponse(LocalDateTime deadline, | ||
String meetingAddress, | ||
String meetingAddressDetail) { | ||
|
||
public OfferingMeetingResponse(OfferingMeeting offeringMeeting) { | ||
this(offeringMeeting.getDeadline(), | ||
offeringMeeting.getMeetingAddress(), | ||
offeringMeeting.getMeetingAddressDetail() | ||
); | ||
} | ||
} |