Skip to content

Instantly share code, notes, and snippets.

@kaantas
Created June 4, 2020 13:23
Show Gist options
  • Save kaantas/3a76364e5a7aae28790ccbe4fd60f88b to your computer and use it in GitHub Desktop.
Save kaantas/3a76364e5a7aae28790ccbe4fd60f88b to your computer and use it in GitHub Desktop.
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;
@Component
@Data
@ConfigurationProperties(prefix = "dispatcher.cargo.selector")
@RefreshScope
public class DispatcherCargoSelectorConfigServerProperties {
private int staffUserCargoProviderId;
private int defaultCargoProviderId;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment