2024-04-01 10:16:19 +02:00
|
|
|
package eu.eudat.service.deposit;
|
2023-10-18 17:15:52 +02:00
|
|
|
|
2024-04-19 14:34:07 +02:00
|
|
|
import eu.eudat.commons.types.deposit.DepositSourceEntity;
|
2023-10-18 17:15:52 +02:00
|
|
|
import org.springframework.boot.context.properties.ConfigurationProperties;
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
@ConfigurationProperties(prefix = "deposit")
|
|
|
|
public class DepositProperties {
|
|
|
|
|
2024-04-19 14:34:07 +02:00
|
|
|
private List<DepositSourceEntity> sources;
|
2023-10-18 17:15:52 +02:00
|
|
|
|
2024-04-19 14:34:07 +02:00
|
|
|
public List<DepositSourceEntity> getSources() {
|
2023-10-26 17:04:55 +02:00
|
|
|
return sources;
|
2023-10-18 17:15:52 +02:00
|
|
|
}
|
|
|
|
|
2024-04-19 14:34:07 +02:00
|
|
|
public void setSources(List<DepositSourceEntity> sources) {
|
2023-12-13 10:42:59 +01:00
|
|
|
this.sources = sources;
|
|
|
|
}
|
2023-10-18 17:15:52 +02:00
|
|
|
}
|