/*
 * Copyright (c) 2018-2999 广州亚米信息科技有限公司 All rights reserved.
 *
 * https://www.gz-yami.com/
 *
 * 未经允许，不可做商业用途！
 *
 * 版权所有，侵权必究！
 */

package com.yami.shop.user.comment.param;

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

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

/**
 * @author LHD on 2020/03/02
 */
@Data
@ApiModel(value = "会员支付参数")
public class PayUserLevelParam {

    @NotBlank(message = "会员等级id不能为空")
    @ApiModelProperty(value = "会员等级id", required = true)
    private Long id;

    @ApiModelProperty(value = "二维码携带的参数")
    private String scene;

    @ApiModelProperty(value = "支付方式 (1:微信小程序支付 2:支付宝 3微信扫码支付 4 微信h5支付)", required = true)
    private Integer payType = 1;

    @ApiModelProperty(value = "支付完成回跳地址", required = true)
    private String returnUrl;
}
