diff --git a/src/main/java/org/ntlab/acanthus_server/entities/FollowUidJson.java b/src/main/java/org/ntlab/acanthus_server/entities/FollowUidJson.java index 513ff71..1440ce6 100644 --- a/src/main/java/org/ntlab/acanthus_server/entities/FollowUidJson.java +++ b/src/main/java/org/ntlab/acanthus_server/entities/FollowUidJson.java @@ -7,21 +7,21 @@ public class FollowUidJson { @JsonProperty("followsUid") - private ArrayList uidList = new ArrayList<>(); + private ArrayList followsUid = new ArrayList<>(); //Json型でフォローしているユーザーIDを表示する処理 public FollowUidJson(Collection followUidList){ for (var followUid : followUidList){ - uidList.add(followUid); + followsUid.add(followUid); } } - public Collection getUidList() { - return uidList; + public Collection getFollowsUid() { + return followsUid; } - public void setUidList(ArrayList uidList) { - this.uidList = uidList; + public void setFollowsUid(ArrayList followsUid) { + this.followsUid = followsUid; } }