package com.yn.bftl.thirdparty.modules.unionpay.dto.account;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

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

/**
 * 订单支付DTO
 *
 * @author huabiao
 * @create 2022/9/13  16:52
 **/
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "AccountOrderPayDTO", description = "订单支付DTO")
public class AccountOrderPayDTO {

    @ApiModelProperty(value = "订单ID", required = true)
    @NotNull
    private Long orderId;

    @ApiModelProperty(value = "密码密文", required = true)
    @NotBlank
    private String encryptPwd;

    @ApiModelProperty(value = "随机因子", required = true)
    @NotBlank
    private String plugRandomKey;
}
