-
-
Save henesgokdag/2d21abca2fe764fd5bb2463d5d0a2b7c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Data | |
@Document(indexName = "productindex") | |
public class Product { | |
@Id | |
private String id; | |
@Field(type = FieldType.Text, name = "name") | |
private String name; | |
@Field(type = FieldType.Double, name = "price") | |
private Double price; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment