package com.writeoff.module.finance.dto;

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

public class ConfirmPaymentRequest {
    @NotBlank(message = "幂等键不能为空")
    private String idempotencyKey;
    @NotNull(message = "项目ID不能为空")
    private Long projectId;
    @NotNull(message = "会议ID不能为空")
    private Long meetingId;
    @NotNull(message = "支付金额不能为空")
    @Min(value = 1, message = "支付金额必须大于0")
    private Long amountCent;
    @NotBlank(message = "支付凭证不能为空")
    private String paymentVoucherOssKey;

    public String getIdempotencyKey() {
        return idempotencyKey;
    }

    public void setIdempotencyKey(String idempotencyKey) {
        this.idempotencyKey = idempotencyKey;
    }

    public Long getProjectId() {
        return projectId;
    }

    public void setProjectId(Long projectId) {
        this.projectId = projectId;
    }

    public Long getMeetingId() {
        return meetingId;
    }

    public void setMeetingId(Long meetingId) {
        this.meetingId = meetingId;
    }

    public Long getAmountCent() {
        return amountCent;
    }

    public void setAmountCent(Long amountCent) {
        this.amountCent = amountCent;
    }

    public String getPaymentVoucherOssKey() {
        return paymentVoucherOssKey;
    }

    public void setPaymentVoucherOssKey(String paymentVoucherOssKey) {
        this.paymentVoucherOssKey = paymentVoucherOssKey;
    }
}
