-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#10 - Searching in hierarchical data structures
- Loading branch information
biagio
committed
Dec 20, 2024
1 parent
a4fc86d
commit a71647b
Showing
5 changed files
with
42 additions
and
42 deletions.
There are no files selected for viewing
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package app.tozzi.model; | ||
|
||
import app.tozzi.annotation.NestedSearchable; | ||
import app.tozzi.annotation.Searchable; | ||
import lombok.Data; | ||
|
||
@Data | ||
public class RecursiveModel { | ||
|
||
private Long id; | ||
|
||
@Searchable | ||
private String name; | ||
|
||
@NestedSearchable | ||
private RecursiveModel predecessor; | ||
|
||
@NestedSearchable | ||
private MyModel myModel; | ||
} |
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