You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
1.1 KiB
55 lines
1.1 KiB
package com.gcc.erppostdata.config;
|
|
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
|
import org.springframework.context.annotation.Configuration;
|
|
|
|
@Configuration
|
|
@ConfigurationProperties(prefix = "app")
|
|
public class AppConfig {
|
|
private String erpUrl;
|
|
private String username;
|
|
private String password;
|
|
private String petDb;
|
|
private String cmhDb;
|
|
|
|
public String getErpUrl() {
|
|
return erpUrl;
|
|
}
|
|
|
|
public void setErpUrl(String erpUrl) {
|
|
this.erpUrl = erpUrl;
|
|
}
|
|
|
|
public String getUsername() {
|
|
return username;
|
|
}
|
|
|
|
public void setUsername(String username) {
|
|
this.username = username;
|
|
}
|
|
|
|
public String getPassword() {
|
|
return password;
|
|
}
|
|
|
|
public void setPassword(String password) {
|
|
this.password = password;
|
|
}
|
|
|
|
public String getPetDb() {
|
|
return petDb;
|
|
}
|
|
|
|
public void setPetDb(String petDb) {
|
|
this.petDb = petDb;
|
|
}
|
|
|
|
public String getCmhDb() {
|
|
return cmhDb;
|
|
}
|
|
|
|
public void setCmhDb(String cmhDb) {
|
|
this.cmhDb = cmhDb;
|
|
}
|
|
}
|