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;

import java.util.Map;

@Data
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
    private Map<String, Object> data;
}
