Implement chronology field

This commit is contained in:
2026-02-04 00:05:07 +05:00
parent 7207a3ec17
commit 192ea0feae
2 changed files with 13 additions and 0 deletions

View File

@ -60,6 +60,7 @@ public class Anime {
private List<String> synonyms;
private List<Genre> genres;
private List<Related> related;
private List<ChronologyAnime> chronology;
@Nullable
private Poster poster;
@ -297,4 +298,12 @@ public class Anime {
this.related = related;
}
public List<ChronologyAnime> getChronology() {
return chronology;
}
public void setChronology(List<ChronologyAnime> chronology) {
this.chronology = chronology;
}
}

View File

@ -0,0 +1,4 @@
package com.backend.metadata.shikimori.api.model;
public record ChronologyAnime(String id, String name, String russian) {
}