Created
December 8, 2021 16:18
-
-
Save Hkazanci93/314e6feca7c7a11fad146ef0c8e76462 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
package com.yourcompany.domain; | |
@Document | |
public class Company { | |
@Id private String id; | |
@Searchable private String name; | |
@Indexed private Point location; | |
@Indexed private Set<String> tags = new HashSet<String>(); | |
@Indexed private Integer numberOfEmployees; | |
@Indexed private Integer yearFounded; | |
private String url; | |
private boolean publiclyListed; | |
// ... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment