NewsDetailBean.java 22 KB
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 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002
package com.wd.foundation.bean.response;


import android.content.pm.ActivityInfo;
import android.text.TextUtils;


import com.wd.foundation.bean.analytics.LiveTypeConstants;
import com.wd.foundation.bean.base.BaseBean;
import com.wd.foundation.bean.comment.DisplayWorkInfoBean;
import com.wd.foundation.bean.custom.comp.AudioBean;
import com.wd.foundation.bean.custom.content.ManuscriptImageBean;
import com.wd.foundation.bean.custom.content.PeopleMasterBean;
import com.wd.foundation.bean.custom.content.PeopleUserInforBean;
import com.wd.foundation.bean.custom.content.RelInfoBean;
import com.wd.foundation.bean.mail.LiveInfo;
import com.wd.foundation.bean.mail.MainChannel;
import com.wd.foundation.bean.mail.ShareInfo;
import com.wd.foundation.bean.mail.VideoInfo;
import com.wd.foundation.bean.mail.VliveBean;
import com.wd.foundation.bean.pop.PopUpsBean;
import com.wd.foundation.wdkitcore.tools.StringUtils;

import java.util.ArrayList;
import java.util.List;

/**
 * 新闻内容详情
 *
 * @author baozhaoxin
 * @version [V1.0.0, 2023/2/21]
 * @since V1.0.0
 */
public class NewsDetailBean extends BaseBean {
    /**
     * 新闻id
     */
    private String newsId;

    /**
     * 新闻标题
     */
    private String newsTitle;

    /**
     * 新闻正文标题
     */
    private String newsBodyTitle;

    /**
     * 新闻标签
     */
    private String newTags;

    /**
     * 所属频道列表
     */
    private List<MainChannel> channelList;

    /**
     * 发布时间
     */
    private String publishTime;

    /**
     * app样式
     */
    private String appStyle;
    /**
     *  有的接口返回appstyle
     */
    private String appstyle;

    /**
     * 合集-稿件封面图地址
     */
    private String albumCoverUrl;

    /**
     * 1:点播,2:直播,3:活动,4:广告,5:专题,6:链接,7:榜单,8:图文,9:组图,10:H5新闻,11:频道,12:组件,13:音频,14动态图文,15动态视频
     */
    private String newsType;

    /**
     * 新闻摘要
     */
    private String newsSummary;
    /**
     * 新闻来源
     */
    private String newsSourceName;

    /**
     * 新闻来源
     */
    private String newsSource;
    /**
     * 图文内容富文本信息
     */
    private String newsContent;

    /**
     * 作者
     */
    private List<AuthorBean> authorList;

    /**
     * 主题
     */
    private List<SubjectBean> subjectList;

    /**
     * 音频Url
     */
    private String audioUrl;

    /**
     * 是否有彩蛋  0-无 1-有
     */
    private String hasPopUp;

    /**
     * 是否时政新闻 1是 0否
     */
    private Integer currentPoliticsFlag;

    /**
     * 彩蛋信息
     */
    private List<PopUpsBean> popUps;

    /**
     * 分享海报图片
     */
    private String posterUrl;
    /**
     * 视频封面
     */
    private String coverUrl;

    /**
     * 分享对象
     */
    private ShareInfo shareInfo;

    /**
     * 图集图片信息数组
     */
    private List<PhotoBean> photoList;

    /**
     * 视频信息
     */
    private List<VideoInfo> videoInfo;

    /**
     * 直播信息
     */
    private LiveInfo liveInfo;
    private SerialsInfo serials;

    private PeopleMasterBean peopleAccountInfo;

    private int bottomMargin;
    /**
     * 首帧图
     */
    private String firstFrameImageUri;

    private int topMargin;

    /**
     * 摘要是否可以展开收起
     */
    private boolean isSummaryCanExpand;

    /**
     * 是否国殇模式
     */
    private boolean isGray;

    private String traceId;

    private String traceInfo;

    private String itemType;

    private String itemId;

    private String sceneId;

    private String subSceneId;

    /**
     * 试验id
     */
    private String expIds;

    /**
     * 频道id;【取对应频道关系的,频道id】
     */
    private String channelId;

    private PlayStateChangedListener mPlayStateChangedListener;

    /**
     * 新增字段
     * openLikes: 是否开启点赞 1是 0否
     * openComment:是否开启评论 1是 0否
     * likesStyle:点赞样式 1:红心(点赞) 2:大拇指(祈福) 3:蜡烛(默哀) 4:置空
     * preCommentFlag:内容预评论显示开关;1显示 0隐藏
     * commentDisplay:评论展示 1:显示 2 隐藏
     * commentEntryFlag: 文章稿件,开启H5链接时的评论入口开关 评论入口开关 1:显示 2 隐藏
     * posterFlag:海报开关0:关闭,1:开启;【如果存在关系,需要从关系上获取】
     * menuShow:文章稿件使用 是否显示功能菜单 1显示 2隐藏
     * openAudio:语音播报开关 0不播报 1播报
     */
    private int openLikes;
    private int openComment;
    /**
     * 是否是重点稿件 1是 0否
     */
    private String keyArticle;

    /**
     * 是否领导人文章 0 否,1 是,不存在就传0
     */
    private String leaderArticle = "0";

    /**
     * 点赞样式 1:红心(点赞) 2:大拇指(祈福) 3:蜡烛(默哀) 4:置空
     */
    private int likesStyle;

    private int preCommentFlag;
    private int commentDisplay;
    private int commentEntryFlag;
    private int posterFlag;
    /**
     * 是否显示功能菜单 1显示 2隐藏
     */
    private int menuShow = 1;

    /**
     * 【图文稿件】语音播报开关 0不播报 1播报
     */
    private int openAudio;

    /**
     * 音频信息【图文、音频】
     */
    private List<AudioBean> audioList;

    /**
     * 内容对应关系信息;【互动使用】
     */
    private RelInfoBean reLInfo;

    private String newsLinkUrl;

    /**
     * 人民号内容
     */
    private PeopleMasterBean rmhInfo;

    private PeopleUserInforBean userInfo;

    // 批量查询各类型内容动态数据接口
    // @POST("api/rmrb-contact/contact/zh/c/content/interactData")
    private InteractResponseDataBean interact;

    // 批量查询内容当前用户点赞、收藏状态
    // /interact/zh/c/batchLikeAndCollect/status
    private DisplayWorkInfoBean displayWorkInfoBean;

    // 批量查询创作者的关注状态
    // api/rmrb-interact/interact/zh/c/batchAttention/status
    private MasterFollowsStatusBean followsStatusBean;


    /**
     * 音频地址
     */
    private AudioBean audioVo;

    /**
     * 稿件封面图地址【BFF聚合】
     */
    private List<ManuscriptImageBean> fullColumnImgUrls;

    /**
     * 直播简介取这个
     */
    private  String newIntroduction;

    /**
     * 发布标识,0-cms;1-表示号主发布 2-普通用户
     * 内容详情接口增加字段rmhPlatform,1=人民号发布,已部署。
     * 为1时,需要单独请求,直播流地址接口
     * /zh/c/vlive/pull-stream/{vLiveId} 普通直播获取流地址
     * /zh/c/vlive/pull-stream-list/{liveId} 多路直播获取流地址
     * 返回和视界一样
     * */
    public int rmhPlatform = 0;

    private String readFlag;
    /**
     * 页面名称
     */
    private String pageName;
    /**
     * 专栏ID
     */
    private String specialColumnId;
    /**
     * 是否详情页
     */
    private String isDetail = "1";
    /**
     * 1开启、2关闭最佳评论,默认关闭
     */
    private int bestNoticer = 2;

    // 关联活动对象
    private List<ActivityInfo> activityInfos;
    //上个页面跳转来的
    private String fromPage;

    /**
     * 相关推荐开关:1-开启,其他情况不显示推荐
     */
    private String recommendShow;

    /**
     * 浏览量
     */
    private String viewCount;

    /**
     * 游客评论开关:visitorComment  1:打开;0:关闭
     */
    private String visitorComment;

    /**
     * 迁移老直播id
     */
    private String oldNewsId;

    public String getNewIntroduction() {
        return newIntroduction;
    }

    public void setNewIntroduction(String newIntroduction) {
        this.newIntroduction = newIntroduction;
    }



    public String getNewsSourceName() {
        return newsSourceName;
    }

    public void setNewsSourceName(String newsSourceName) {
        this.newsSourceName = newsSourceName;
    }

    public List<ManuscriptImageBean> getFullColumnImgUrls() {
        return fullColumnImgUrls;
    }

    public void setFullColumnImgUrls(List<ManuscriptImageBean> fullColumnImgUrls) {
        this.fullColumnImgUrls = fullColumnImgUrls;
    }

    public AudioBean getAudioVo() {
        return audioVo;
    }

    public void setAudioVo(AudioBean audioVo) {
        this.audioVo = audioVo;
    }

    public DisplayWorkInfoBean getDisplayWorkInfoBean() {
        return displayWorkInfoBean;
    }

    public void setDisplayWorkInfoBean(DisplayWorkInfoBean displayWorkInfoBean) {
        this.displayWorkInfoBean = displayWorkInfoBean;
    }
    public String getTraceId() {
        return traceId;
    }

    public void setTraceId(String traceId) {
        this.traceId = traceId;
    }

    public String getTraceInfo() {
        return traceInfo;
    }

    public void setTraceInfo(String traceInfo) {
        this.traceInfo = traceInfo;
    }

    public String getItemType() {
        return itemType;
    }

    public void setItemType(String itemType) {
        this.itemType = itemType;
    }

    public String getItemId() {
        return itemId;
    }

    public void setItemId(String itemId) {
        this.itemId = itemId;
    }

    public String getAlbumCoverUrl() {
        return albumCoverUrl;
    }

    public void setAlbumCoverUrl(String albumCoverUrl) {
        this.albumCoverUrl = albumCoverUrl;
    }

    public String getSceneId() {
        return sceneId;
    }

    public void setSceneId(String sceneId) {
        this.sceneId = sceneId;
    }

    public String getSubSceneId() {
        return subSceneId;
    }

    public void setSubSceneId(String subSceneId) {
        this.subSceneId = subSceneId;
    }

    public String getExpIds() {
        return expIds;
    }

    public void setExpIds(String expIds) {
        this.expIds = expIds;
    }

    public String getChannelId() {
        return channelId;
    }

    public void setChannelId(String channelId) {
        this.channelId = channelId;
    }

    public InteractResponseDataBean getInteract() {
        return interact;
    }

    public void setInteract(InteractResponseDataBean interact) {
        this.interact = interact;
    }

    public MasterFollowsStatusBean getFollowsStatusBean() {
        return followsStatusBean;
    }

    public void setFollowsStatusBean(MasterFollowsStatusBean followsStatusBean) {
        this.followsStatusBean = followsStatusBean;
    }

    public PeopleMasterBean getRmhInfo() {
        return rmhInfo;
    }

    public void setRmhInfo(PeopleMasterBean rmhInfo) {
        this.rmhInfo = rmhInfo;
    }

    public PeopleUserInforBean getUserInfo() {
        return userInfo;
    }

    public void setUserInfo(PeopleUserInforBean userInfo) {
        this.userInfo = userInfo;
    }

    public void setPlayStateChangedListener(PlayStateChangedListener playStateChangedListener) {
        mPlayStateChangedListener = playStateChangedListener;
    }

    public PlayStateChangedListener getPlayStateChangedListener() {
        return mPlayStateChangedListener;
    }

    public interface PlayStateChangedListener {
        void onPlayStateChanged(int position, boolean isPaused);
    }

    public String getNewsId() {
        return newsId;
    }

    public void setNewsId(String newsId) {
        this.newsId = newsId;
    }

    public String getNewsTitle() {
        return newsTitle;
    }

    public void setNewsTitle(String newsTitle) {
        this.newsTitle = newsTitle;
    }

    public String getNewTags() {
        return newTags;
    }

    public void setNewTags(String newTags) {
        this.newTags = newTags;
    }

    public List<MainChannel> getChannelList() {
        return channelList;
    }

    public void setChannelList(List<MainChannel> channelList) {
        this.channelList = channelList;
    }

    public String getPublishTime() {
        return publishTime;
    }

    public void setPublishTime(String publishTime) {
        this.publishTime = publishTime;
    }

    public String getAppStyle() {
        if (StringUtils.isBlank(appStyle) && !StringUtils.isBlank(appstyle) ){
            return appstyle;
        }
        return appStyle;
    }

    public void setAppStyle(String appStyle) {
        this.appStyle = appStyle;
    }

    public String getAppstyle() {
        return appstyle;
    }

    public void getAppstyle(String appstyle) {
        this.appstyle = appstyle;
    }

    public String getNewsType() {
        return newsType;
    }

    public void setNewsType(String newsType) {
        this.newsType = newsType;
    }

    public String getNewsSummary() {
        return newsSummary;
    }

    public void setNewsSummary(String newsSummary) {
        this.newsSummary = newsSummary;
    }

    public String getNewsSource() {
        return newsSource;
    }

    public void setNewsSource(String newsSource) {
        this.newsSource = newsSource;
    }

    public String getNewsContent() {
        return newsContent;
    }

    public void setNewsContent(String newsContent) {
        this.newsContent = newsContent;
    }

    public List<AuthorBean> getAuthorList() {
        return authorList;
    }

    public void setAuthorList(List<AuthorBean> authorList) {
        this.authorList = authorList;
    }

    public List<SubjectBean> getSubjectList() {
        return subjectList;
    }

    public void setSubjectList(List<SubjectBean> subjectList) {
        this.subjectList = subjectList;
    }

    public String getAudioUrl() {
        return audioUrl;
    }

    public void setAudioUrl(String audioUrl) {
        this.audioUrl = audioUrl;
    }

    public String getHasPopUp() {
        return hasPopUp;
    }

    public void setHasPopUp(String hasPopUp) {
        this.hasPopUp = hasPopUp;
    }

    public Integer getCurrentPoliticsFlag() {
        return currentPoliticsFlag;
    }

    public void setCurrentPoliticsFlag(Integer currentPoliticsFlag) {
        this.currentPoliticsFlag = currentPoliticsFlag;
    }

    public List<PopUpsBean> getPopUps() {
        return popUps;
    }

    public void setPopUps(List<PopUpsBean> popUps) {
        this.popUps = popUps;
    }

    public String getPosterUrl() {
        return posterUrl;
    }

    public void setPosterUrl(String posterUrl) {
        this.posterUrl = posterUrl;
    }

    public ShareInfo getShareInfo() {
        return shareInfo;
    }

    public void setShareInfo(ShareInfo shareInfo) {
        this.shareInfo = shareInfo;
    }

    public List<PhotoBean> getPhotoList() {
        return photoList;
    }

    public void setPhotoList(List<PhotoBean> photoList) {
        this.photoList = photoList;
    }

    public List<VideoInfo> getVideoInfo() {
        return videoInfo;
    }

    public void setVideoInfo(List<VideoInfo> videoInfo) {
        this.videoInfo = videoInfo;
    }

    public void setVideoInfo(VideoInfo videoInfo) {
        this.videoInfo = new ArrayList<>();
        this.videoInfo.add(videoInfo);
    }

    public String getNewsBodyTitle() {
        return newsBodyTitle;
    }

    public void setNewsBodyTitle(String newsBodyTitle) {
        this.newsBodyTitle = newsBodyTitle;
    }

    public LiveInfo getLiveInfo() {
        return liveInfo;
    }

    public void setLiveInfo(LiveInfo liveInfo) {
        this.liveInfo = liveInfo;
    }

    public int getBottomMargin() {
        return bottomMargin;
    }

    public void setBottomMargin(int bottomMargin) {
        this.bottomMargin = bottomMargin;
    }

    public String getFirstFrameImageUri() {
        return firstFrameImageUri;
    }

    public void setFirstFrameImageUri(String firstFrameImageUri) {
        this.firstFrameImageUri = firstFrameImageUri;
    }

    public int getTopMargin() {
        return topMargin;
    }

    public void setTopMargin(int topMargin) {
        this.topMargin = topMargin;
    }

    public boolean isSummaryCanExpand() {
        return isSummaryCanExpand;
    }

    public void setSummaryCanExpand(boolean summaryCanExpand) {
        isSummaryCanExpand = summaryCanExpand;
    }

    public SerialsInfo getSerials() {
        return serials;
    }

    public void setSerials(SerialsInfo serials) {
        this.serials = serials;
    }

    public PeopleMasterBean getPeopleAccountInfo() {
        return peopleAccountInfo;
    }

    public void setPeopleAccountInfo(PeopleMasterBean peopleAccountInfo) {
        this.peopleAccountInfo = peopleAccountInfo;
    }

    /**
     * 是否有彩蛋
     *
     * @return
     */
    public boolean isHasPopUp() {
        return "1".equals(hasPopUp);
    }

    public boolean isGray() {
        return isGray;
    }

    public void setGray(boolean gray) {
        isGray = gray;
    }

    public int getOpenLikes() {
        return openLikes;
    }

    public void setOpenLikes(int openLikes) {
        this.openLikes = openLikes;
    }

    public int getOpenComment() {
        return openComment;
    }

    public void setOpenComment(int openComment) {
        this.openComment = openComment;
    }

    public int getLikesStyle() {
        return likesStyle;
    }

    public void setLikesStyle(int likesStyle) {
        this.likesStyle = likesStyle;
    }

    public int getPreCommentFlag() {
        return preCommentFlag;
    }

    public boolean isShowComment(){
        return getPreCommentFlag()==1;
    }

    public void setPreCommentFlag(int preCommentFlag) {
        this.preCommentFlag = preCommentFlag;
    }

    public int getCommentDisplay() {
        return commentDisplay;
    }

    public void setCommentDisplay(int commentDisplay) {
        this.commentDisplay = commentDisplay;
    }

    public int getCommentEntryFlag() {
        return commentEntryFlag;
    }

    public void setCommentEntryFlag(int commentEntryFlag) {
        this.commentEntryFlag = commentEntryFlag;
    }

    public int getPosterFlag() {
        return posterFlag;
    }

    public void setPosterFlag(int posterFlag) {
        this.posterFlag = posterFlag;
    }

    public int getMenuShow() {
        return menuShow;
    }

    public void setMenuShow(int menuShow) {
        this.menuShow = menuShow;
    }

    public int getOpenAudio() {
        return openAudio;
    }

    public void setOpenAudio(int openAudio) {
        this.openAudio = openAudio;
    }

    public RelInfoBean getReLInfo() {
        return reLInfo;
    }

    public void setReLInfo(RelInfoBean reLInfo) {
        this.reLInfo = reLInfo;
    }

    public void setNewsLinkUrl(String newsLinkUrl) {
        this.newsLinkUrl = newsLinkUrl;
    }

    public String getNewsLinkUrl() {
        return newsLinkUrl;
    }

    /**
     * 获取视频地址
     * <p>
     * 不想改动太多阿里播放器核心代码,故新增此方法
     *
     * @return 视频地址
     */
    public String getUrl() {
        //直播回放情况 拿数据 后期优化
        if (liveInfo != null && liveInfo.getLiveState() != null && LiveTypeConstants.END.equals(liveInfo.getLiveState()) && liveInfo.getVlive() != null && liveInfo.getVlive().size()>0){
            VliveBean videoInfoList =  liveInfo.getVlive().get(0);
            if (videoInfoList == null || TextUtils.isEmpty(videoInfoList.getReplayUri()) ) {
                 return null;
            }
            return videoInfoList.getReplayUri();
        }

        List<VideoInfo> videoInfoList = getVideoInfo();
        if (videoInfoList == null || videoInfoList.size() == 0) {
             return null;
        }
        VideoInfo videoInfo = videoInfoList.get(0);
        if (videoInfo == null) {
             return null;
        }
        return videoInfo.videoUrl;
    }

    public String getKeyArticle() {
        return keyArticle;
    }

    public void setKeyArticle(String keyArticle) {
        this.keyArticle = keyArticle;
    }

    public List<AudioBean> getAudioList() {
        return audioList;
    }

    public void setAudioList(List<AudioBean> audioList) {
        this.audioList = audioList;
    }

    public String getReadFlag() {
        return readFlag;
    }

    public void setReadFlag(String readFlag) {
        this.readFlag = readFlag;
    }

    public String getPageName() {
        return pageName;
    }

    public void setPageName(String pageName) {
        this.pageName = pageName;
    }

    public String getSpecialColumnId() {
        return specialColumnId;
    }

    public void setSpecialColumnId(String specialColumnId) {
        this.specialColumnId = specialColumnId;
    }

    public String getIsDetail() {
        return isDetail;
    }

    public void setIsDetail(String isDetail) {
        this.isDetail = isDetail;
    }

    public int getBestNoticer() {
        return bestNoticer;
    }

    public void setBestNoticer(int bestNoticer) {
        this.bestNoticer = bestNoticer;
    }

    public List<ActivityInfo> getActivityInfos() {
        return activityInfos;
    }

    public void setActivityInfos(List<ActivityInfo> activityInfos) {
        this.activityInfos = activityInfos;
    }

    public String getFromPage() {
        return fromPage;
    }

    public void setFromPage(String fromPage) {
        this.fromPage = fromPage;
    }

    public String getRecommendShow() {
        return recommendShow;
    }

    public void setRecommendShow(String recommendShow) {
        this.recommendShow = recommendShow;
    }

    public String getViewCount() {
        return viewCount;
    }

    public void setViewCount(String viewCount) {
        this.viewCount = viewCount;
    }

    public String getCoverUrl() {
        return coverUrl;
    }

    public void setCoverUrl(String coverUrl) {
        this.coverUrl = coverUrl;
    }

    public int getVisitorComment() {
        return StringUtils.isEqual("1",visitorComment) ? 1 : 0;
    }

    public void setVisitorComment(String visitorComment) {
        this.visitorComment = visitorComment;
    }

    public String getOldNewsId() {
        return oldNewsId;
    }

    public void setOldNewsId(String oldNewsId) {
        this.oldNewsId = oldNewsId;
    }

    public String getLeaderArticle() {
        return leaderArticle;
    }

    public void setLeaderArticle(String leaderArticle) {
        this.leaderArticle = leaderArticle;
    }
}