ArticleInfo.java 2.2 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 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69
package com.kwan.springbootkwan.entity.resp;

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

import java.util.List;

@Data
public class ArticleInfo {
    private String traceId;
    private Integer code;
    private ArticleInfoData data;
    private String message;

    @Data
    public static class ArticleInfoData {
        private Integer pageCount;
        private Integer floorCount;
        private Integer count;
        @JsonProperty("list")
        private List<ArticleInfoDataList> list;
        private Integer foldCount;

        @Data
        public static class ArticleInfoDataList {
            private Object pointCommentId;
            private Info info;

            @Data
            public static class Info {
                private Boolean flag;
                private String dateFormat;
                private String vipUrl;
                private Object redEnvelopeInfo;
                private Integer digg;
                private String parentUserName;
                private String content;
                private Integer years;
                private String parentNickName;
                private Boolean loginUserDigg;
                private String postTime;
                private Boolean companyBlog;
                private Boolean vip;
                private String levelIcon;
                private String orderNo;
                private String companyBlogIcon;
                private String nickName;
                private Integer articleId;
                private String flagIcon;
                private String avatar;
                private String userName;
                private Integer parentId;
                private String vipIcon;
                private Boolean isBlack;
                private Boolean isTop;
                private Integer commentId;
                private CommentFromTypeResult commentFromTypeResult;
                private String region;

                @Data
                public static class CommentFromTypeResult {
                    private Integer index;
                    private String title;
                    private String key;
                }
            }
        }
    }
}