package com.writeoff.module.notification.dto;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

public class NotificationReceiptRequest {
    @NotNull(message = "任务ID不能为空")
    private Long taskId;
    @NotBlank(message = "供应商消息ID不能为空")
    private String providerMessageId;
    @NotBlank(message = "回执码不能为空")
    private String receiptCode;
    private String receiptMessage;
    private Boolean delivered;

    public Long getTaskId() {
        return taskId;
    }

    public void setTaskId(Long taskId) {
        this.taskId = taskId;
    }

    public String getProviderMessageId() {
        return providerMessageId;
    }

    public void setProviderMessageId(String providerMessageId) {
        this.providerMessageId = providerMessageId;
    }

    public String getReceiptCode() {
        return receiptCode;
    }

    public void setReceiptCode(String receiptCode) {
        this.receiptCode = receiptCode;
    }

    public String getReceiptMessage() {
        return receiptMessage;
    }

    public void setReceiptMessage(String receiptMessage) {
        this.receiptMessage = receiptMessage;
    }

    public Boolean getDelivered() {
        return delivered;
    }

    public void setDelivered(Boolean delivered) {
        this.delivered = delivered;
    }
}
