pom:
4.2.11 org.springframework.data spring-data-elasticsearch${spring-data-elasticsearch.version}
yml:
spring:
elasticsearch:
rest:
uris: 192.168.0.***:9200
username:
password:
dto :
package com.shenmo.ebs.oms.productItem.pojo.dto; import com.fasterxml.jackson.annotation.JsonFormat; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import org.springframework.data.annotation.Id; import org.springframework.data.elasticsearch.annotations.DateFormat; import org.springframework.data.elasticsearch.annotations.Document; import



