package com.backendsys.modules.sdk.tencentcloud.ems.entity;

import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

@Data
public class TencentEmsCallbackParams {

    public static interface Callback {}

    private String event;
    @NotEmpty(message = "邮件地址不能为空", groups = { Callback.class })
    private String email;
    private String bulkId;
    private Long timestamp;
    private String reason;
    private String bounceType;
    private String username;
    private String from;
    private String fromDomain;
    private Long templateId;
    private String subject;
    private String messageId;
}
