Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 
 

27 строки
568 B

  1. package com.simple.config;
  2. import org.apache.commons.lang3.builder.ToStringBuilder;
  3. import org.apache.commons.lang3.builder.ToStringStyle;
  4. import org.springframework.boot.context.properties.ConfigurationProperties;
  5. import org.springframework.stereotype.Component;
  6. /**
  7. * @author Stormeye
  8. */
  9. @Component
  10. @ConfigurationProperties(prefix = "pay")
  11. public class PayProperty {
  12. /**
  13. * 真实支付
  14. */
  15. private boolean real;
  16. public boolean isReal() {
  17. return real;
  18. }
  19. public void setReal(boolean real) {
  20. this.real = real;
  21. }
  22. }