18 lines
380 B
Java
18 lines
380 B
Java
|
package gr.cite.notification.config.email;
|
||
|
|
||
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||
|
|
||
|
@ConfigurationProperties(prefix = "email")
|
||
|
public class EmailProperties {
|
||
|
|
||
|
private final String address;
|
||
|
|
||
|
public EmailProperties(String address) {
|
||
|
this.address = address;
|
||
|
}
|
||
|
|
||
|
public String getAddress() {
|
||
|
return address;
|
||
|
}
|
||
|
}
|