package com.gzlh.camera.properties; import lombok.Data; import org.springframework.boot.context.properties.ConfigurationProperties; import org.springframework.context.annotation.Configuration; @ConfigurationProperties(prefix = "led") @Configuration @Data public class CameraPropertiesConfig { private String host; private int port; private int brand; private boolean enable; }