mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
store feed content hash
This commit is contained in:
@@ -72,6 +72,9 @@ public class Feed extends AbstractModel {
|
||||
@Column(length = 255)
|
||||
private String etagHeader;
|
||||
|
||||
@Column(length = 40)
|
||||
private String lastContentHash;
|
||||
|
||||
@ManyToMany(mappedBy = "feeds")
|
||||
private Set<FeedEntry> entries = Sets.newHashSet();
|
||||
|
||||
@@ -224,4 +227,12 @@ public class Feed extends AbstractModel {
|
||||
this.lastPublishedDate = lastPublishedDate;
|
||||
}
|
||||
|
||||
public String getLastContentHash() {
|
||||
return lastContentHash;
|
||||
}
|
||||
|
||||
public void setLastContentHash(String lastContentHash) {
|
||||
this.lastContentHash = lastContentHash;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user