package com.cyksj.model.request;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.DecimalMin;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @author chan
 * @className FoundationOrder
 * @description 微信支付入参
 * @date 2020/9/3 4:23 下午
 */
@Getter
@Setter
@ToString
public class WeChatPayRequest {

    @NotNull(message = "缺少必填参数")
    private Long popularizeId;

    @NotNull(message = "请输入金额")
    @DecimalMin(value = "1",message = "请输入金额")
    private BigDecimal donMoney;

    private String appId;


    private String callback;

    private String callbackType;

}
