Skip to content

Instantly share code, notes, and snippets.

@ereshzealous
Created April 22, 2020 10:19
Show Gist options
  • Select an option

  • Save ereshzealous/acebac47af2f825ea797f0ce793eb6d0 to your computer and use it in GitHub Desktop.

Select an option

Save ereshzealous/acebac47af2f825ea797f0ce793eb6d0 to your computer and use it in GitHub Desktop.
package com.minikube.sample.properties;
import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
/**
* Created By Gorantla, Eresh on 17/Dec/2019
**/
@Configuration
@ConfigurationProperties(prefix = "app.data")
@Getter
@Setter
public class PropertiesConfig {
private String test;
private String name;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment