BusinessInfo.java 1.1 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
package com.kwan.springbootkwan.entity.resp;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.List;

@Data
public class BusinessInfo {
    private String traceId;
    private Integer code;
    private ArticleData data;
    private String message;

    @Data
    public static class ArticleData {

        public Object total;

        @JsonProperty("list")
        public List<Article> list;

        @Data
        public static class Article {
            public String formatTime;
            public Integer collectCount;
            public String description;
            public Integer diggCount;
            public String type;
            public String title;
            public Boolean hasOriginal;
            public String url;
            public Integer commentCount;
            public String rtype;
            public Long postTime;
            public String editUrl;
            public Long createTime;
            public Integer articleType;
            public List<String> picList;
            public Integer viewCount;
        }
    }
}