package com.wzj.soopin.content.utils;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author vercen
 * @version 1.0
 * @date 2023/5/25 10:21
 * 获取短信配置
 */
@Component
@Data
@ConfigurationProperties(prefix = "tencent.cloud")
public class TencentCloudProperties {

    /**
     * 密钥ID
     */
    private String secretId;

    /**
     * 密钥Key
     */
    private String secretKey;

    /**
     * 区域
     */
    private String region;

    /**
     * 点播配置
     */
    private VodProperties vod = new VodProperties();

    @Data
    public static class VodProperties {
        /**
         * 应用ID
         */
        private String appId;
    }
}
