java.lang.Object
info.ejava.examples.app.config.configproperties.properties.CompanyProperties

@ConfigurationProperties("app.config.company") @Validated public class CompanyProperties extends Object
This class provides a example of ConfigurationProperties class that uses Lombok to generate boilerplate Java bean methods.
  • Field Details

    • name

      @NotNull private final @NotNull String name
  • Constructor Details

    • CompanyProperties

      public CompanyProperties(String name)