mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
added complete tree
This commit is contained in:
@@ -2,20 +2,19 @@ package com.commafeed.frontend.rest.model;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.commafeed.frontend.rest.FeedSubscriptionsREST.Subscription;
|
||||
import com.google.common.collect.Lists;
|
||||
|
||||
public class Category {
|
||||
private Long id;
|
||||
private String id;
|
||||
private String name;
|
||||
private List<Category> children = Lists.newArrayList();
|
||||
private List<Subscription> feeds = Lists.newArrayList();
|
||||
|
||||
public Long getId() {
|
||||
public String getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
public void setId(Long id) {
|
||||
public void setId(String id) {
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,10 +1,12 @@
|
||||
package com.commafeed.frontend.rest.model;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
public class Entry {
|
||||
private String id;
|
||||
private String title;
|
||||
private String content;
|
||||
private String date;
|
||||
private Date date;
|
||||
private String feedId;
|
||||
private String feedName;
|
||||
private String url;
|
||||
@@ -35,11 +37,11 @@ public class Entry {
|
||||
this.content = content;
|
||||
}
|
||||
|
||||
public String getDate() {
|
||||
public Date getDate() {
|
||||
return date;
|
||||
}
|
||||
|
||||
public void setDate(String date) {
|
||||
public void setDate(Date date) {
|
||||
this.date = date;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user