package org.springblade.yeePay.entity;

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

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

@Data
@Builder
@ApiModel("网关支付入参")
public class PayGateWayDto {
	@NotBlank
	@ApiModelProperty(value = "商户请求号",required = true)
	String orderId;

	@NotNull
	@ApiModelProperty(value = "充值金额",required = true)
	Double orderAmount;

//	@NotBlank
//	@ApiModelProperty(value = "可选项如下:" +
//		"B2C:个人网银" +
//		"B2B:企业网银",required = true)
//	String payType;

//	@NotBlank
//	@ApiModelProperty(value = "银行编码",required = true)
//	String bankCode;

	@NotBlank
	@ApiModelProperty(value = "商户通知地址",required = true)
	String notifyUrl;

	@NotBlank
	@ApiModelProperty(value = "商品名称",required = true)
	String goodsName;

	@ApiModelProperty(value = "支付成功跳转地址",required = false)
	String redirectUrl;
	@ApiModelProperty("小程序id")
	String appId;
}
