ListItemモデルをラッピングするモデルを作成

This commit is contained in:
ろむねこ 2024-01-12 09:54:38 +09:00
parent 451e8532d1
commit ca61d2c055
No known key found for this signature in database
GPG Key ID: FA1F39A1BA37D168

View File

@ -1,4 +1,28 @@
package one.nem.lacerta.model; package one.nem.lacerta.model;
import java.util.ArrayList;
public class LibraryItemList { public class LibraryItemList {
String pageTitle;
String pageId;
ArrayList<ListItem> listItems;
public LibraryItemList(String pageTitle, String pageId, ArrayList<ListItem> listItems) {
this.pageTitle = pageTitle;
this.pageId = pageId;
this.listItems = listItems;
}
public String getPageTitle() {
return pageTitle;
}
public String getPageId() {
return pageId;
}
public ArrayList<ListItem> getListItems() {
return listItems;
}
} }