package com.liquidnet.service.goblin.param;

import com.liquidnet.service.dragon.doc.DragonPaySwaggerDoc;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@ApiModel(value = "GoblinNftOrderPayAgainParam", description = "再次支付所需参数")
@Data
public class GoblinNftOrderPayAgainParam {

    @ApiModelProperty(value = DragonPaySwaggerDoc.OPEN_ID_VALUE)
    private String openId;

    @ApiModelProperty(value = "订单id")
    @NotNull(message = "订单ID不能为空")
    private String orderId;

    @ApiModelProperty(value = DragonPaySwaggerDoc.PAY_TYPE_VALUE, allowableValues = DragonPaySwaggerDoc.PAY_TYPE_ALLOWABLE, example = "wepay")
    @NotNull(message = "支付类型不能为空")
    private String payType;

    @ApiModelProperty(value = DragonPaySwaggerDoc.DEVICE_FROM_VALUE, allowableValues = DragonPaySwaggerDoc.DEVICE_FROM_ALLOWABLE, example = "applet")
    @NotNull(message = "支付来源不能为空")
    private String deviceFrom;

    @ApiModelProperty(value = "showUrl")
    private String showUrl;

    @ApiModelProperty(value = "returnUrl")
    private String returnUrl;

}
