package com.cyksj.model.dto;

import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * @author chan
 * @date 2021-10-10 下午12:23
 */
@Getter
@Setter
public class JsSdkTicket implements Serializable {

    /**
     * 公众号的唯一标识
     */
    private String appid;

    /**
     * 生成签名的时间戳
     */
    private Long timestamp;

    /**
     * 生成签名的随机串
     */
    private String nonceStr;

    /**
     * 签名
     */
    private String signature;

    public String println() {
        return "JsSdkTicket{" +
                "appid='" + appid + '\'' +
                ", timestamp=" + timestamp +
                ", nonceStr='" + nonceStr + '\'' +
                ", signature='" + signature + '\'' +
                '}';
    }
}
