package com.zjty.dev.device.es.subject.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Collections;
import java.util.Map;

/**
 * @author LJJ
 * on 2019-04-24
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class EsSource {

    /**
     * es id
     */
    private String id = "";

    /**
     * es data source
     */
    private Map<String, Object> jsonMap = Collections.emptyMap();
}
