package com.xunhong.erp.turbo.file.config;

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

/**
 * oss配置
 *
 * @author shenyifei
 */
@Data
@ConfigurationProperties(prefix = OssProperties.PREFIX)
public class OssProperties {
	public static final String PREFIX = "spring.oss";

	private String roleArn;

	private String region;

	private String bucket;

	private String domain;

	private String stsEndPoint;

	private String ossEndPoint;

	private String accessKey;

	private String accessSecret;

	private String policy;

	private boolean enabled;
}
