package net.davidvoid.thor.lightning.entity;

/**
 * Created by david on 3/20/16.
 */
public class FeedRelation implements Entity {
    private long group_id = -1;
    private long feed_id = -1;
    private String name = null;

    public long getGroup_id() {
        return group_id;
    }

    public void setGroup_id(long group_id) {
        this.group_id = group_id;
    }

    public long getFeed_id() {
        return feed_id;
    }

    public void setFeed_id(long feed_id) {
        this.feed_id = feed_id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public boolean has_valid_id() {
        return true;
    }
}

@@ -125,16 +125,42 @@
 ntity %7B%0A
+    private long id = -1;%0A
     priv
@@ -247,16 +247,134 @@
  null;%0A%0A
+    public long getId() %7B%0A        return id;%0A    %7D%0A%0A    public void setId(long id) %7B%0A        this.id = id;%0A    %7D%0A    %0A
     publ
@@ -858,12 +858,15 @@
 urn 
-true
+id %3E= 0
 ;%0A  

add id field to the relation