package com.zd.bottle.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

/**
 * @author Administrator
 */
@Configuration
@ConfigurationProperties("alarm")
@RefreshScope
@Data
public class AlarmProperties {

    /**
     * 视频流地址
     */
    private String streamUrl;

    /**
     * 间隔时间
     */
    private Integer waitTime=1;

}
