CommentData.java 2.7 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 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101
package com.kwan.springbootkwan.entity.resp;

import lombok.Data;

import java.util.List;

@Data
public class CommentData {
    public int code;
    public String message;
    public String traceId;
    public DataInfo data;

    @Data
    public static class DataInfo {
        public int count;
        public int pageCount;
        public int floorCount;
        public int foldCount;
        public List<Comment> list;
    }

    @Data
    public static class Comment {
        public Info info;
        public List<SubComment> sub;
        public String pointCommentId;
    }

    @Data
    public static class Info {
        public int commentId;
        public long articleId;
        public int parentId;
        public String postTime;
        public String content;
        public String userName;
        public int digg;
        public List<String> diggArr;
        public boolean loginUserDigg;
        public String parentUserName;
        public String parentNickName;
        public String avatar;
        public String nickName;
        public String dateFormat;
        public int years;
        public boolean vip;
        public String vipIcon;
        public String vipUrl;
        public boolean companyBlog;
        public String companyBlogIcon;
        public boolean flag;
        public String flagIcon;
        public String levelIcon;
        public boolean isTop;
        public boolean isBlack;
        public String region;
        public String orderNo;
        public Object redEnvelopeInfo;
        public CommentFromTypeResult commentFromTypeResult;
    }
    @Data
    public static class CommentFromTypeResult {
        public int index;
        public String key;
        public String title;
    }
    @Data
    public static class SubComment {
        public int commentId;
        public long articleId;
        public int parentId;
        public String postTime;
        public String content;
        public String userName;
        public int digg;
        public List<String> diggArr;
        public boolean loginUserDigg;
        public String parentUserName;
        public String parentNickName;
        public String avatar;
        public String nickName;
        public String dateFormat;
        public int years;
        public boolean vip;
        public String vipIcon;
        public String vipUrl;
        public boolean companyBlog;
        public String companyBlogIcon;
        public boolean flag;
        public String flagIcon;
        public String levelIcon;
        public boolean isTop;
        public boolean isBlack;
        public String region;
        public String orderNo;
        public Object redEnvelopeInfo;
        public CommentFromTypeResult commentFromTypeResult;
    }
}