package com.fdkankan.fyun.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Data
@Component
public class FYunFileConfig {

    @Value("${fyun.key}")
    private String key;

    @Value("${fyun.secret}")
    private String secret;

    @Value("${fyun.bucket}")
    private String bucket;

    @Value("${fyun.freeze-bucket:4dkk-bak}")
    private String freezeBucket;

    @Value("${fyun.endPoint}")
    private String endPoint;

    @Value("${fyun.type}")
    private String fyunType;

    @Value("${fyun.host}")
    private String host;

    @Value("${fyun.region:#{null}}")
    private String region;

}
