package com.zsElectric.boot.business.model.vo.applet;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

/**
 * 微信支付参数视图对象
 *
 * @author wzq
 * @since 2025/12/29
 */
@Data
@Schema(description = "微信支付参数")
public class WechatPayParamsVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "小程序APPID")
    private String appId;

    @Schema(description = "时间戳")
    private String timeStamp;

    @Schema(description = "随机字符串")
    private String nonceStr;

    @Schema(description = "预支付交易会话标识", example = "prepay_id=wx201410272009395522657a690389285100")
    @JsonProperty("package")
    private String packageValue;

    @Schema(description = "签名")
    private String paySign;

    @Schema(description = "签名类型", example = "RSA")
    private String signType;

    @Schema(description = "商户订单号")
    private String outTradeNo;
}
