mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
queries tweaking
This commit is contained in:
@@ -29,6 +29,9 @@ public class Feed extends AbstractModel {
|
||||
@OneToMany(mappedBy = "feed")
|
||||
private Set<FeedEntry> entries = Sets.newHashSet();
|
||||
|
||||
@OneToMany(mappedBy = "feed")
|
||||
private Set<FeedSubscription> subscriptions;
|
||||
|
||||
public Feed() {
|
||||
|
||||
}
|
||||
@@ -69,4 +72,12 @@ public class Feed extends AbstractModel {
|
||||
this.message = message;
|
||||
}
|
||||
|
||||
public Set<FeedSubscription> getSubscriptions() {
|
||||
return subscriptions;
|
||||
}
|
||||
|
||||
public void setSubscriptions(Set<FeedSubscription> subscriptions) {
|
||||
this.subscriptions = subscriptions;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user