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

import com.yn.bftl.thirdparty.modules.unionpay.enums.UnionpayAppOrderType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

/**
 * 银联下单DTO
 *
 * @author huabiao
 * @create 2022/8/30  16:52
 **/
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "UnionpayAppOrderDTO", description = "银联下单DTO")
public class UnionpayAppOrderDTO {

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

    @ApiModelProperty(value = "银联下单类型", required = true)
    @NotNull
    private UnionpayAppOrderType type;
}
