diff --git a/app/src/main/java/org/ntlab/acanthus_client/entities/InvitesJson.java b/app/src/main/java/org/ntlab/acanthus_client/entities/InvitesJson.java new file mode 100644 index 0000000..6e8db8f --- /dev/null +++ b/app/src/main/java/org/ntlab/acanthus_client/entities/InvitesJson.java @@ -0,0 +1,21 @@ +package org.ntlab.acanthus_client.entities; + +import java.util.Collection; + +public class InvitesJson { + private Collection invites; + + public InvitesJson(Collection accounts) { + for(Account inviter : accounts){ + this.invites.add(inviter.getUid()); + } + } + + public Collection getInvitesJson() { + return invites; + } + + public void setInvitesJson(Integer uid){ + this.invites.add(uid); + } +}