diff --git a/src/main/java/com/catchroom/chat/chatroom/dto/ChatRoomListGetResponse.java b/src/main/java/com/catchroom/chat/chatroom/dto/ChatRoomListGetResponse.java index d526efb..e1889cd 100644 --- a/src/main/java/com/catchroom/chat/chatroom/dto/ChatRoomListGetResponse.java +++ b/src/main/java/com/catchroom/chat/chatroom/dto/ChatRoomListGetResponse.java @@ -1,5 +1,6 @@ package com.catchroom.chat.chatroom.dto; +import com.catchroom.chat.chatroom.type.DealState; import com.catchroom.chat.message.dto.ChatMessageDto; import com.catchroom.chat.message.type.UserIdentity; import lombok.AllArgsConstructor; @@ -20,6 +21,7 @@ public class ChatRoomListGetResponse { private String accommodationUrl; private String partnerNickName; private ChatMessageDto lastChatmessageDto; + private DealState dealState; public void updateChatMessageDto(ChatMessageDto chatMessageDto) { this.lastChatmessageDto = chatMessageDto; diff --git a/src/main/java/com/catchroom/chat/chatroom/type/DealState.java b/src/main/java/com/catchroom/chat/chatroom/type/DealState.java new file mode 100644 index 0000000..3ed66bf --- /dev/null +++ b/src/main/java/com/catchroom/chat/chatroom/type/DealState.java @@ -0,0 +1,5 @@ +package com.catchroom.chat.chatroom.type; + +public enum DealState { + UNSOLD,ONSALE,EXPIRED,DONEDEAL,UNABLESELL +}