mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
optional query parameter to filter out old entries from results
This commit is contained in:
@@ -37,6 +37,7 @@ public class Entry implements Serializable {
|
||||
entry.setEnclosureType(status.getEntry().getContent()
|
||||
.getEnclosureType());
|
||||
entry.setDate(feedEntry.getUpdated());
|
||||
entry.setInsertedDate(feedEntry.getInserted());
|
||||
entry.setUrl(feedEntry.getUrl());
|
||||
|
||||
entry.setRead(status.isRead());
|
||||
@@ -93,6 +94,9 @@ public class Entry implements Serializable {
|
||||
@ApiProperty("entry publication date")
|
||||
private Date date;
|
||||
|
||||
@ApiProperty("entry insertion date in the database")
|
||||
private Date insertedDate;
|
||||
|
||||
@ApiProperty("feed id")
|
||||
private String feedId;
|
||||
|
||||
@@ -253,4 +257,12 @@ public class Entry implements Serializable {
|
||||
this.rtl = rtl;
|
||||
}
|
||||
|
||||
public Date getInsertedDate() {
|
||||
return insertedDate;
|
||||
}
|
||||
|
||||
public void setInsertedDate(Date insertedDate) {
|
||||
this.insertedDate = insertedDate;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user