diff --git a/Titto_Backend/src/main/java/com/example/titto_backend/message/dto/MessageDTO.java b/Titto_Backend/src/main/java/com/example/titto_backend/message/dto/MessageDTO.java index fef80de..ce460cf 100644 --- a/Titto_Backend/src/main/java/com/example/titto_backend/message/dto/MessageDTO.java +++ b/Titto_Backend/src/main/java/com/example/titto_backend/message/dto/MessageDTO.java @@ -11,14 +11,12 @@ public class MessageDTO { private String title; private String content; - private Long senderId; private Long receiverId; public static MessageDTO toDto(Message message) { return new MessageDTO( message.getTitle(), message.getContent(), - message.getSender().getId(), message.getReceiver().getId() ); }