| 1234567891011121314151617 |
- package com.uas.eis.config;
- import lombok.Data;
- import org.springframework.beans.factory.annotation.Value;
- import org.springframework.context.annotation.Configuration;
- import org.springframework.context.annotation.PropertySource;
- @Configuration
- @PropertySource("classpath:pdm.properties")
- @Data
- public class PDMConfig {
- @Value("${user_name}")
- private String user_name;
- @Value("${password}")
- private String password;
- }
|