
package com.tmerclub.cloud.payment.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.ToString;

import java.io.Serial;
import java.io.Serializable;

/**
 * 基本的支付信息
 *
 * @author tmerclub
 * @date 2021/5/13
 */
@Data
@ToString
public class BasePayInfoDTO implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;
    @NotNull(message = "支付方式不能为空")
    @Schema(description = "支付方式 (0积分支付 1:微信小程序支付 2:支付宝 3微信扫码支付 4 微信h5支付 5微信公众号支付 6支付宝H5支付 7支付宝APP支付 8微信APP支付 9余额支付)", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer payType;

    @Schema(description = "支付完成回跳地址", requiredMode = Schema.RequiredMode.REQUIRED)
    private String returnUrl;

    @Schema(description = "系统类型 1:移动端 2:pc", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer systemType;

    @Schema(description = "支付的系统类型 1:pc  2:h5  3:小程序 4:安卓  5:ios", requiredMode = Schema.RequiredMode.REQUIRED)
    private Integer systemModel;

    @Schema(description = "验证类型(0:无验证, 1:短信验证码, 2：支付密码), 默认短信验证")
    private Long validateType;


}
