diff --git a/src/main/java/com/example/cosmos_serversb/entities/Group.java b/src/main/java/com/example/cosmos_serversb/entities/Group.java index 086549a..7b2c965 100644 --- a/src/main/java/com/example/cosmos_serversb/entities/Group.java +++ b/src/main/java/com/example/cosmos_serversb/entities/Group.java @@ -1,4 +1,69 @@ package com.example.cosmos_serversb.entities; +import com.sun.imageio.plugins.common.SingleTileRenderedImage; + +import java.util.ArrayList; +import com.example.cosmos_serversb.entities.*; + public class Group { + private String gId, uri, name; + //private ArrayList members; + //private ArrayList requests; + + + private Group(){ + + } + + public Group(String gId, String uri, String name, String uId){ + setGid(gId); + setUri(uri); + setName(name); + //addMember(uId); + } + + public void setGid(String gId){ + this.gId = gId; + } + + public String getGid(){ + return gId; + } + + public void setUri(String uri){ + this.uri = uri; + } + + public String getUri(){ + return uri; + } + + public void setName(String name){ + this.name = name; + } + + public String getName(){ + return name; + } + + //public void addMember(String uid){ + // members.add(uid); + //} + + //delete member + + //public void addRequest(Request request){ + // requests.add(request); + //} + + //delete request + + + + + + + + } +