package com.hzs.third.translate.config;

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

/**
 * Description:
 * Author: jiang chao
 * Time: 2022/9/8 17:51
 * Classname: TranslateConfig
 * PackageName: com.hzs.third.translate.config
 */
@Data
@Component
@ConfigurationProperties(prefix = "baidu.translate")
public class TranslateConfig {

    /**
     * API appId
     */
    private String appId;

    /**
     * API secretKey
     */
    private String secretKey;

    /**
     * url
     */
    private String url;

}
