FollowBean.java 11.8 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

package com.wd.foundation.bean.response;

import com.wd.foundation.bean.base.BaseBean;

/**
 * @author ouyang
 */
public class FollowBean extends BaseBean {

    private String attentionHeadPhotoUrl;

    /**
     * 创作者userid
     */
    private String attentionUserId;
    /**
     * 创作者名称
     */
    private String attentionUserName;
    /**
     * 创作者类型
     */
    private String attentionUserType;
    /**
     * 创作者id
     */
    private String attentionCreatorId;

    private String createTime;

    private String updateTime;

    /**
     * 关注状态(1:关注 0:未关注)
     */
    private int status;

    /**
     * 是否关注过 1是 0否
     */
    private int isAttention;

    /**
     *  能否被关注 1是 0否
     */
    private String whetherAttention;

    private String userName;


    private int crossAttention;

    private String id;
    /**
     * 当前登录账号的userId
     */
    private String userId;

    /**
     * 用户类型 1-普通用户 2-视频号 3-矩阵号 4-运营子账号
     */
    private String userType;

    /**
     * 号主
     */
    private String creatorId;

    /**
     * 头像路径
     */
    private String headPhotoUrl;

    private String introduction;

    /**
     * 粉丝创作者id,如果粉丝只是普通用户不能被关注
     */
    private String fansCreatorId;

    private String fansHeadPhotoUrl;
    /**
     * 粉丝usreId
     */
    private String fansUserId;

    private String fansUserName;
    /**
     * 粉丝用户类型
     */
    private String fansUserType;

    private String traceId;
    private String traceInfo;
    private String sceneId;

    private String itemId;
    private String itemType;
    private String region;
    /**
     * 账号是否可关注;0否,1是
     */
    private int  cnAttention;

    /**
     * 中文端账号是否拥有主页展示权限 0-未拥有1-拥有
     */
    private int cnMainControl;

    /**
     * 双端海报分享权益 0:有 1:无
     */
    private int posterShareControl;

    /**
     * 荣誉称号图标地址
     */
    private String honoraryIcon;

    /**
     * 荣誉称号名称
     */
    private String honoraryTitle;


    /**
     * 1104 号主认证icon
     */
    private String authIcon;

    /**
     * 1104 号主认证说明(蓝V/黄V)
     */
    private String authTitle;

    /**
     * 认证标题2
     */
    private String authTitle2;

    private int attentionNum;
    private int attentionUserTypeX;
    private int collectNum;
    private int commentNum;
    private Long createTimeX;
    /**
     * 粉丝数
     */
    private int fansNum;
    private int idX;
    private int likeNum;
    private int registTime;
    private int shareNum;
    private Object updateTimeX;
    private int userTypeX;

    /**
     * 号主是否拥有主页展示权限
     */
    private int mainControl;

    public boolean useSelected = true;

    public int getMainControl() {
        return mainControl;
    }

    public void setMainControl(int mainControl) {
        this.mainControl = mainControl;
    }


    public int getAttentionNum() {
        return attentionNum;
    }

    public void setAttentionNum(int attentionNum) {
        this.attentionNum = attentionNum;
    }

    public int getAttentionUserTypeX() {
        return attentionUserTypeX;
    }

    public void setAttentionUserTypeX(int attentionUserTypeX) {
        this.attentionUserTypeX = attentionUserTypeX;
    }

    public int getCollectNum() {
        return collectNum;
    }

    public void setCollectNum(int collectNum) {
        this.collectNum = collectNum;
    }

    public int getCommentNum() {
        return commentNum;
    }

    public void setCommentNum(int commentNum) {
        this.commentNum = commentNum;
    }

    public Long getCreateTimeX() {
        return createTimeX;
    }

    public void setCreateTimeX(Long createTimeX) {
        this.createTimeX = createTimeX;
    }

    public int getFansNum() {
        return fansNum;
    }

    public void setFansNum(int fansNum) {
        this.fansNum = fansNum;
    }

    public int getIdX() {
        return idX;
    }

    public void setIdX(int idX) {
        this.idX = idX;
    }

    public int getLikeNum() {
        return likeNum;
    }

    public void setLikeNum(int likeNum) {
        this.likeNum = likeNum;
    }

    public int getRegistTime() {
        return registTime;
    }

    public void setRegistTime(int registTime) {
        this.registTime = registTime;
    }

    public int getShareNum() {
        return shareNum;
    }

    public void setShareNum(int shareNum) {
        this.shareNum = shareNum;
    }

    public Object getUpdateTimeX() {
        return updateTimeX;
    }

    public void setUpdateTimeX(Object updateTimeX) {
        this.updateTimeX = updateTimeX;
    }

    public int getUserTypeX() {
        return userTypeX;
    }

    public void setUserTypeX(int userTypeX) {
        this.userTypeX = userTypeX;
    }

    public String getAuthIcon() {
        return authIcon;
    }

    public void setAuthIcon(String authIcon) {
        this.authIcon = authIcon;
    }

    public String getAuthTitle() {
        return authTitle;
    }

    public void setAuthTitle(String authTitle) {
        this.authTitle = authTitle;
    }

    public String getSceneId() {
        return sceneId;
    }

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

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserType() {
        return userType;
    }

    public void setUserType(String userType) {
        this.userType = userType;
    }

    public int getCrossAttention() {
        return crossAttention;
    }

    public void setCrossAttention(int crossAttention) {
        this.crossAttention = crossAttention;
    }

    public String getAttentionHeadPhotoUrl() {
        return attentionHeadPhotoUrl;
    }

    public void setAttentionHeadPhotoUrl(String attentionHeadPhotoUrl) {
        this.attentionHeadPhotoUrl = attentionHeadPhotoUrl;
    }

    public String getAttentionUserId() {
        return attentionUserId;
    }

    public void setAttentionUserId(String attentionUserId) {
        this.attentionUserId = attentionUserId;
    }

    public String getAttentionUserName() {
        return attentionUserName;
    }

    public void setAttentionUserName(String attentionUserName) {
        this.attentionUserName = attentionUserName;
    }

    public String getAttentionUserType() {
        return attentionUserType;
    }

    public void setAttentionUserType(String attentionUserType) {
        this.attentionUserType = attentionUserType;
    }

    public String getAttentionCreatorId() {
        return attentionCreatorId;
    }

    public void setAttentionCreatorId(String attentionCreatorId) {
        this.attentionCreatorId = attentionCreatorId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getIntroduction() {
        return introduction;
    }

    public void setIntroduction(String introduction) {
        this.introduction = introduction;
    }

    public String getFansCreatorId() {
        return fansCreatorId;
    }

    public void setFansCreatorId(String fansCreatorId) {
        this.fansCreatorId = fansCreatorId;
    }

    public String getFansHeadPhotoUrl() {
        return fansHeadPhotoUrl;
    }

    public void setFansHeadPhotoUrl(String fansHeadPhotoUrl) {
        this.fansHeadPhotoUrl = fansHeadPhotoUrl;
    }

    public String getFansUserId() {
        return fansUserId;
    }

    public void setFansUserId(String fansUserId) {
        this.fansUserId = fansUserId;
    }

    public String getFansUserName() {
        return fansUserName;
    }

    public void setFansUserName(String fansUserName) {
        this.fansUserName = fansUserName;
    }

    public String getFansUserType() {
        return fansUserType;
    }

    public void setFansUserType(String fansUserType) {
        this.fansUserType = fansUserType;
    }

    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 int getIsAttention() {
        return isAttention;
    }

    public void setIsAttention(int isAttention) {
        this.isAttention = isAttention;
    }

    public String getWhetherAttention() {
        return whetherAttention;
    }

    public void setWhetherAttention(String whetherAttention) {
        this.whetherAttention = whetherAttention;
    }

    /**
     * 是否关注
     * 
     * @return true:表示关注
     */
    public boolean isFollowed() {
        return status == 1;
    }

    public boolean isFansFollowed(){

        return isAttention == 1;
    }


    public boolean isCloseFollowFuction(){

        return  "0".equals(whetherAttention);
    }



    /**
     * 普通用户
     * @return
     */
    public boolean isOrdinaryUsers(){

        return  "1".equals(getFansUserType()) || "5".equals(getFansUserType());
    }

    public String getCreatorId() {
        return creatorId;
    }

    public void setCreatorId(String creatorId) {
        this.creatorId = creatorId;
    }

    public String getHeadPhotoUrl() {
        return headPhotoUrl;
    }

    public void setHeadPhotoUrl(String headPhotoUrl) {
        this.headPhotoUrl = headPhotoUrl;
    }

    public String getItemId() {
        return itemId;
    }

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

    public String getItemType() {
        return itemType;
    }

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

    public String getRegion() {
        return region;
    }

    public void setRegion(String region) {
        this.region = region;
    }

    public int getCnAttention() {
        return cnAttention;
    }

    public void setCnAttention(int cnAttention) {
        this.cnAttention = cnAttention;
    }

    public int getCnMainControl() {
        return cnMainControl;
    }

    public void setCnMainControl(int cnMainControl) {
        this.cnMainControl = cnMainControl;
    }

    public int getPosterShareControl() {
        return posterShareControl;
    }

    public void setPosterShareControl(int posterShareControl) {
        this.posterShareControl = posterShareControl;
    }

    public String getAuthTitle2() {
        return authTitle2;
    }

    public void setAuthTitle2(String authTitle2) {
        this.authTitle2 = authTitle2;
    }

    public boolean isUseSelected() {
        return useSelected;
    }

    public void setUseSelected(boolean useSelected) {
        this.useSelected = useSelected;
    }

    public String getHonoraryIcon() {
        return honoraryIcon;
    }

    public void setHonoraryIcon(String honoraryIcon) {
        this.honoraryIcon = honoraryIcon;
    }

    public String getHonoraryTitle() {
        return honoraryTitle;
    }

    public void setHonoraryTitle(String honoraryTitle) {
        this.honoraryTitle = honoraryTitle;
    }
}