package cn.pluss.platform.jty;

import cn.pluss.platform.jty.constant.JtyConstant;
import lombok.Data;

/**
 * 佳天亿音箱授权实体类分装
 * @author bzg
 */
@Data
public class JtyYxApiAuth {

    /**
     * appId
     */
    private String appId;

    /**
     * appSecret
     */
    private String appSecret;

    /**
     * 版本号
     */
    private String apiVersion;


    public JtyYxApiAuth(String appId,String appSecret) {
        this.appId = appId;
        this.appSecret = appSecret;
        this.apiVersion = JtyConstant.VERSION;
    }

    public JtyYxApiAuth() {
        this.appId = JtyConstant.APPID;
        this.appSecret = JtyConstant.SECRET;
        this.apiVersion = JtyConstant.VERSION;
    }
}
