diff --git a/common/src/main/java/com/ossez/discourse/common/model/dto/PostStream.java b/common/src/main/java/com/ossez/discourse/common/model/dto/PostStream.java new file mode 100644 index 0000000..82ca0b6 --- /dev/null +++ b/common/src/main/java/com/ossez/discourse/common/model/dto/PostStream.java @@ -0,0 +1,30 @@ +package com.ossez.discourse.common.model.dto; + +import com.fasterxml.jackson.annotation.JsonProperty; + +import java.io.Serializable; +import java.util.List; + +public class PostStream implements Serializable { + private static final long serialVersionUID = 7382606905010995326L; + private List posts; + private List stream; + + public List getPosts() { + return posts; + } + + public void setPosts(List posts) { + this.posts = posts; + } + + public List getStream() { + return stream; + } + + public void setStream(List stream) { + this.stream = stream; + } +} + + diff --git a/common/src/main/java/com/ossez/discourse/common/model/dto/SuggestedTopics.java b/common/src/main/java/com/ossez/discourse/common/model/dto/SuggestedTopics.java new file mode 100644 index 0000000..a88cdd5 --- /dev/null +++ b/common/src/main/java/com/ossez/discourse/common/model/dto/SuggestedTopics.java @@ -0,0 +1,28 @@ +package com.ossez.discourse.common.model.dto; + +import java.io.Serializable; +import java.util.List; + +public class SuggestedTopics implements Serializable { + private static final long serialVersionUID = 7382606905010995326L; + private List posts; + private List stream; + + public List getPosts() { + return posts; + } + + public void setPosts(List posts) { + this.posts = posts; + } + + public List getStream() { + return stream; + } + + public void setStream(List stream) { + this.stream = stream; + } +} + +