-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #37 from Kusitms-29th-Meetup-TeamE/feat/33/chatroom
Feat: 채팅방 api 완성
- Loading branch information
Showing
38 changed files
with
668 additions
and
213 deletions.
There are no files selected for viewing
16 changes: 0 additions & 16 deletions
16
src/main/java/com/meetup/teame/backend/TestChatController.java
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
29 changes: 29 additions & 0 deletions
29
src/main/java/com/meetup/teame/backend/domain/chatroom/entity/Appointment.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,29 @@ | ||
package com.meetup.teame.backend.domain.chatroom.entity; | ||
|
||
import jakarta.persistence.Embeddable; | ||
import lombok.*; | ||
import org.hibernate.annotations.Comment; | ||
|
||
import java.time.LocalDate; | ||
import java.time.LocalDateTime; | ||
|
||
|
||
@Embeddable | ||
@NoArgsConstructor(access = AccessLevel.PROTECTED) | ||
@AllArgsConstructor(access = AccessLevel.PRIVATE) | ||
@Getter | ||
@Builder | ||
public class Appointment { | ||
@Comment("약속 시간") | ||
private LocalDate appointmentDate; | ||
|
||
@Comment("약속 장소") | ||
private String appointmentLocation; | ||
|
||
public static Appointment of(LocalDate appointmentDate, String appointmentLocation) { | ||
return Appointment.builder() | ||
.appointmentDate(appointmentDate) | ||
.appointmentLocation(appointmentLocation) | ||
.build(); | ||
} | ||
} |
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.