diff --git a/backend/mci-server/src/main/java/com/sino/mci/channel/dto/ChannelAccountEventRequest.java b/backend/mci-server/src/main/java/com/sino/mci/channel/dto/ChannelAccountEventRequest.java index 2fc1352..7b81f9b 100644 --- a/backend/mci-server/src/main/java/com/sino/mci/channel/dto/ChannelAccountEventRequest.java +++ b/backend/mci-server/src/main/java/com/sino/mci/channel/dto/ChannelAccountEventRequest.java @@ -1,5 +1,6 @@ package com.sino.mci.channel.dto; +import com.fasterxml.jackson.annotation.JsonProperty; import jakarta.validation.constraints.NotBlank; import jakarta.validation.constraints.NotNull; import lombok.Data; @@ -10,17 +11,22 @@ import java.util.Map; public class ChannelAccountEventRequest { @NotBlank + @JsonProperty("event_id") private String eventId; @NotBlank + @JsonProperty("event_type") private String eventType; @NotBlank + @JsonProperty("account_id") private String accountId; @NotBlank + @JsonProperty("tenant_code") private String tenantCode; + @JsonProperty("timestamp") private String timestamp; @NotNull