parent
28fe2e8086
commit
2f44ec1eca
|
|
@ -9,7 +9,7 @@ import org.springframework.data.elasticsearch.annotations.FieldType;
|
|||
import java.math.BigDecimal;
|
||||
|
||||
@Data
|
||||
//@Document(indexName="ss_object")
|
||||
@Document(indexName="ss_object")
|
||||
public class EsObjectDocument {
|
||||
@Id // 必须添加这个注解
|
||||
private String id; // 字段名可以是id或自定义
|
||||
|
|
|
|||
Loading…
Reference in New Issue