src/main/java/de/uapcore/lightpit/entities/Project.java

changeset 134
f47e82cd6077
parent 86
0a658e53177c
child 138
e2aa673dd473
--- a/src/main/java/de/uapcore/lightpit/entities/Project.java	Sat Oct 17 15:21:56 2020 +0200
+++ b/src/main/java/de/uapcore/lightpit/entities/Project.java	Sat Oct 17 19:56:50 2020 +0200
@@ -34,6 +34,7 @@
 
     private final int id;
     private String name;
+    private String node;
     private String description;
     private String repoUrl;
     private User owner;
@@ -54,6 +55,14 @@
         this.name = name;
     }
 
+    public String getNode() {
+        return node == null ? String.valueOf(id) : node;
+    }
+
+    public void setNode(String node) {
+        this.node = node;
+    }
+
     public String getDescription() {
         return description;
     }

mercurial