diff --git a/src/main/java/org/ntlab/amaryllis/server/entities/Account.java b/src/main/java/org/ntlab/amaryllis/server/entities/Account.java new file mode 100644 index 0000000..9aef321 --- /dev/null +++ b/src/main/java/org/ntlab/amaryllis/server/entities/Account.java @@ -0,0 +1,24 @@ +package org.ntlab.amaryllis.server.entities; + +import java.util.ArrayList; + +public class Account { + private String uid; + private String name; + private String token; + private String password; + private String introduction; + private ArrayList followings; + private ArrayList followers; + private ArrayList history; + private ArrayList contributions; + public Account(String name,String password){ + this.name=name; + this.password=password; + followings=new ArrayList<>(); + followers=new ArrayList<>(); + history=new ArrayList<>(); + contributions=new ArrayList<>(); + } + +}