package com.sqx.config;

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

/**
 * minio配置
 *
 * @author : codingliang
 * @date : 2024-09-29 18:32
 */
@Data
@Component
@ConfigurationProperties(prefix = "minio")
public class MinioConfig {

    /**
     * endpoint
     */
    private String endpoint;

    /**
     * key
     */
    private String accessKey;

    /**
     * secret
     */
    private String secretKey;

    /**
     * bucket名称
     */
    private String bucket;

}
