package com.hotwj.platform.pay.controller.vo;

import jakarta.validation.constraints.DecimalMin;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.math.BigDecimal;

@Data
public class PayRechargeUnifiedOrderReqVO {

    @NotNull(message = "充值金额不能为空")
    @DecimalMin(value = "0.01", message = "充值金额必须大于 0")
    private BigDecimal amount;

    @NotBlank(message = "支付渠道不能为空")
    private String provider;

    @NotBlank(message = "支付场景不能为空")
    private String scene;

    private Long walletType = 2L;

    private String returnUrl;
}
