Skip to content

Commit

Permalink
Merge pull request #99 from dd-jiyun/main
Browse files Browse the repository at this point in the history
κ²½ν—˜μΉ˜ Entity μ‚­μ œ & MessageDTO μˆ˜μ •
  • Loading branch information
dd-jiyun authored Feb 26, 2024
2 parents 040a888 + 2c36b54 commit 4a2bb76
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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()
);
}
Expand Down

0 comments on commit 4a2bb76

Please sign in to comment.