package cn.nianxx.thhotel.platform.message.common.dto;

import cn.nianxx.thhotel.platform.message.common.request.CaptureSourceMessageMedia;
import java.time.LocalDateTime;
import java.util.List;

/**
 * SourceMessage Inbox 待保存草稿。服务实现层负责填好安全摘要和业务状态，持久化层只负责落库。
 */
public record SourceMessageInboxDraft(
        String hotelId,
        String provider,
        String channel,
        String externalMessageId,
        String externalConversationId,
        String providerFrameId,
        String providerSessionId,
        String payloadSha256,
        String captureStatus,
        boolean duplicatePayloadChanged,
        String safeErrorSummary,
        LocalDateTime receivedAt,
        LocalDateTime capturedAt,
        LocalDateTime sourceSentAt,
        String senderSummary,
        String subject,
        String safeSnippet,
        String payloadJson,
        String schemaVersion,
        String textBody,
        String htmlBody,
        List<CaptureSourceMessageMedia> mediaItems
) {
}
