package shop.alien.store.dto;

import lombok.Data;

import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;

/**
 * 推送发送结果
 */
@Data
public class CommonPushSendResultDto {

    private boolean success;

    private String message;

    private int sentCount;

    private int failedCount;

    private List<CommonPushTargetDto> sentTargets = new ArrayList<>();

    private List<CommonPushTargetDto> failedTargets = new ArrayList<>();

    /** 各厂商 task_id，key 如 oppo_task_id、oppo_message_id */
    private Map<String, String> vendorTaskIds = new LinkedHashMap<>();
}
