WeighbridgePropertiesConfig.java 470 B

1234567891011121314151617181920
  1. package com.gzlh.device.weighbridge.config;
  2. import lombok.Data;
  3. import org.springframework.boot.context.properties.ConfigurationProperties;
  4. import org.springframework.context.annotation.Configuration;
  5. @ConfigurationProperties(prefix = "weighbridge")
  6. @Data
  7. @Configuration
  8. public class WeighbridgePropertiesConfig {
  9. private String host;
  10. private int port;
  11. /**
  12. * 品牌
  13. */
  14. private int brand;
  15. private int minKg;
  16. private boolean enable;
  17. }