persist entry author

This commit is contained in:
Athou
2013-05-19 06:47:37 +02:00
parent bf8f25af92
commit f59198e018
4 changed files with 29 additions and 0 deletions

View File

@@ -43,6 +43,9 @@ public class FeedEntry extends AbstractModel {
@Column(length = 2048)
private String url;
@Column(length = 128)
private String author;
@Temporal(TemporalType.TIMESTAMP)
@Index(name = "inserted_index")
private Date inserted;
@@ -118,4 +121,12 @@ public class FeedEntry extends AbstractModel {
this.guidHash = guidHash;
}
public String getAuthor() {
return author;
}
public void setAuthor(String author) {
this.author = author;
}
}