Created
October 22, 2020 13:46
-
-
Save hoangnt-2197/ca35324289b27d882a4c8e3c267b4fe2 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
@Document(collection = "notes") | |
@Setter | |
@Getter | |
@NoArgsConstructor | |
@AllArgsConstructor | |
class NoteEntity { | |
@Id | |
private String id; | |
private String description; | |
@Override | |
public String toString() { | |
return description; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment