Skip to content

Commit 69a6e6e

Browse files
committed
chore: add missing javadoc
1 parent a912d58 commit 69a6e6e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/main/java/org/openpodcastapi/opa/pagination/Cursorable.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@
55
/// An interface for results that can be paginated using a pagination.
66
/// Any cursorable entity must have methods for fetching the database ID and created timestamp.
77
public interface Cursorable {
8+
/**
9+
* @return the entity ID
10+
*/
811
Long getId();
12+
13+
/**
14+
* @return the entity's `created_at` timestamp
15+
*/
916
Instant getCreatedAt();
1017
}

0 commit comments

Comments
 (0)