package com.zsc.bill.framework.storage;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author harry_yao
 */
@Data
@ConfigurationProperties("storage")
@Component
public class StorageProperties {

    /**
     * 附件存储路径
     */
    // @Value("${storage.attachment}")
    public String attachment;

    /**
     * 临时文件存储路径
     */
    // @Value("${storage.temp}")
    public String temp;
}
