package com.kmall.manager.manager.common;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;

/**
 * @author Scott Chen
 * @since 1.0
 * 2018-09-27
 */
@Component
public class CommonPropertiesConfiguration {

    @Autowired
    private CommonProperties commonProperties;

    @Bean
    public CommonProperties commonProperties(){
        return commonProperties;
    }

}
