IndexProperties.java 492 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
package com.central.admin.properties;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;

/**
 * 索引配置
 *
 * @author zlt
 */
@Setter
@Getter
@ConfigurationProperties(prefix = "zlt.indices")
@RefreshScope
public class IndexProperties {
    /**
     * 配置过滤的索引名:默认只显示这些索引
     */
    private String[] show;
}