CollectProperties.java 590 B

1234567891011121314151617181920212223242526272829
  1. package com.shkpr.service.aimodelpower.commproperties;
  2. import lombok.Getter;
  3. import lombok.Setter;
  4. import lombok.ToString;
  5. import org.springframework.boot.context.properties.ConfigurationProperties;
  6. import org.springframework.context.annotation.Configuration;
  7. /**
  8. * 采集属性
  9. *
  10. * @author 欧阳劲驰
  11. * @since 1.0.3
  12. */
  13. @ConfigurationProperties("collect")
  14. @Configuration
  15. @Getter
  16. @Setter
  17. @ToString
  18. public class CollectProperties {
  19. /**
  20. * 最大水量
  21. */
  22. private Double maxWater = 20000d;
  23. /**
  24. * 最小水量
  25. */
  26. private Double minWater = -20000d;
  27. }