package com.repair.model.request;

import lombok.Data;

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

/**
 * 支付参数
 */
@Data
public class WxPayRequest {
    /**
     * 维修单ID
     */
    @NotNull(message = "维修单ID不能为空")
    private Integer recordId;

    /**
     * openid
     */
    @NotBlank(message = "openid不能为空")
    private String openid;

    /**
     * 支付金额
     */
    @NotNull(message = "支付金额不能为空")
    private BigDecimal totalPrice;
}
