package com.cyksj.model.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * @author chan
 * @date 2021-10-10 下午1:58
 */
@Data
@Accessors(chain = true)
public class WeChatAccessToken {

    /* 参考 https://mp.weixin.qq.com/wiki?t=resource/res_main&id=mp1421140183 */

    @JsonProperty("access_token")
    private String accessToken;

    @JsonProperty("expires_in")
    private Integer expiresIn;

    /**
     * 错误码
     */
    private Integer errcode;

    /**
     * 错误信息
     */
    private String errmsg;
}
