|
|
@@ -18,15 +18,79 @@ import java.util.List;
|
|
|
* @since 2018. 11. 22.
|
|
|
*/
|
|
|
public class ContentsDetailBean extends LifeplusContentsBean {
|
|
|
+ @SerializedName("listType")
|
|
|
+ private String listType;
|
|
|
+ @SerializedName("listAttrType")
|
|
|
+ private String listAttributeType;
|
|
|
+ @SerializedName("seriesTitl")
|
|
|
+ private String seriesTitle;
|
|
|
+ @SerializedName("seriesSubTitl")
|
|
|
+ private String seriesSubTitle;
|
|
|
+
|
|
|
@SerializedName("itemImagList")
|
|
|
private List<ContentsDetailImageBean> itemImageList;
|
|
|
|
|
|
- @Override
|
|
|
- public String getImageUrl() {
|
|
|
+ @SerializedName("itemTagList")
|
|
|
+ private List<TagBean> tagList;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 이미지 리스트 중에서 첫 번째 것을 가져온다.
|
|
|
+ *
|
|
|
+ * @return
|
|
|
+ */
|
|
|
+ public String getCoverImageUrl() {
|
|
|
String url = "";
|
|
|
if (null != itemImageList && itemImageList.size() > 0) {
|
|
|
url = itemImageList.get(0).getImageUrl();
|
|
|
}
|
|
|
return url;
|
|
|
}
|
|
|
+
|
|
|
+ public String getListType() {
|
|
|
+ return listType;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setListType(String listType) {
|
|
|
+ this.listType = listType;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getListAttributeType() {
|
|
|
+ return listAttributeType;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setListAttributeType(String listAttributeType) {
|
|
|
+ this.listAttributeType = listAttributeType;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getSeriesTitle() {
|
|
|
+ return seriesTitle;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setSeriesTitle(String seriesTitle) {
|
|
|
+ this.seriesTitle = seriesTitle;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getSeriesSubTitle() {
|
|
|
+ return seriesSubTitle;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setSeriesSubTitle(String seriesSubTitle) {
|
|
|
+ this.seriesSubTitle = seriesSubTitle;
|
|
|
+ }
|
|
|
+
|
|
|
+ public List<ContentsDetailImageBean> getItemImageList() {
|
|
|
+ return itemImageList;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setItemImageList(List<ContentsDetailImageBean> itemImageList) {
|
|
|
+ this.itemImageList = itemImageList;
|
|
|
+ }
|
|
|
+
|
|
|
+ public List<TagBean> getTagList() {
|
|
|
+ return tagList;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setTagList(List<TagBean> tagList) {
|
|
|
+ this.tagList = tagList;
|
|
|
+ }
|
|
|
}
|