package com.yn.bftl.thirdparty.modules.chinaums.dto;

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/12/9  15:59
 **/
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "WalletOrderPayDTO", description = "订单支付DTO")
public class WalletOrderPayDTO {

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

    @ApiModelProperty(value = "交易授权码（加密）", required = true)
    @NotBlank
    private String password;
}
