Created
July 19, 2022 14:12
-
-
Save atesibrahim/3014c881944ce5159b6d4a725af2ff27 to your computer and use it in GitHub Desktop.
Coucbase Example
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
@Builder | |
@Data | |
@AllArgsConstructor | |
@Document | |
public class Book { | |
@Id | |
private final String id; | |
@Field | |
private String title; | |
@Field | |
private Author author; | |
@Field | |
private String[] tags; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment