package com.shr.utils;

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

@Component
@ConfigurationProperties(prefix = "spring.datasource")
public class DataSource {
	public String url;
	public String username;
	public String password;
	@Value("${datasource.driver-class-name}")
	public String driverclassname;
}
