}
public Subscription subscriptionFrom(DBObject dbo) {
String id = dbo.get("_id").toString();
String target = getString(dbo, "target");
SubscriptionType type = getSubscriptionType(getString(dbo, "type"));
boolean su = getBoolean(dbo, "su");
boolean mo = getBoolean(dbo, "mo");
boolean tu = getBoolean(dbo, "tu");
boolean we = getBoolean(dbo, "we");
boolean th = getBoolean(dbo, "th");