260826_01_ENH: notihub 수정으로 인한 후속 조치

This commit is contained in:
2026-08-26 12:12:47 +09:00
parent 18f42133d9
commit f5b52b9372
7 changed files with 99 additions and 17 deletions

View File

@@ -0,0 +1,26 @@
package com.kri.contact.server.dto.message;
import com.kri.contact.server.common.external.notihub.NotiHubSendSingleResponseDto;
import io.swagger.v3.oas.annotations.media.Schema;
import java.util.Map;
import lombok.Builder;
import lombok.Getter;
@Getter
@Builder
@Schema(description = "Message single send response")
public class MessageSendSingleResponseDto {
@Schema(description = "cmid")
private String cmid;
@Schema(description = "data")
private Map<String, Object> data;
public static MessageSendSingleResponseDto from(NotiHubSendSingleResponseDto response) {
return MessageSendSingleResponseDto.builder()
.cmid(response.getCmid())
.data(response.getData())
.build();
}
}