RooProject.vala
authorAlan Knowles <alan@roojs.com>
Mon, 24 Dec 2018 06:53:57 +0000 (14:53 +0800)
committerAlan Knowles <alan@roojs.com>
Mon, 24 Dec 2018 06:53:57 +0000 (14:53 +0800)
RooProject.vala

index e69de29..ca3d710 100644 (file)
@@ -0,0 +1,26 @@
+
+
+static RooProject  _RooProject;
+public class RooProject  : Object 
+{
+       public static RooProject singleton()
+    {
+       
+            _RooProject = new RooProject();
+            RooTicket.projects = new Gee.ArrayList<RooProject>();
+
+        }
+        return _RooTicket;
+    }
+       
+       public string  id; // not really important that they are numbers..
+       public string code;
+       public string name;
+       public string type;
+
+       static Gee.ArrayList<RooProject> projects;
+       
+       
+       
+}
+