ContentDetailBean.java 1.89 KB
package com.wd.foundation.bean.request;

/**
 * Time:2023/5/19
 * Author:ypf
 * Description:新闻内容详情请求Bean
 */
public class ContentDetailBean {

    private String contentId;
    private int contentType;
    private String relId;
    private String relType;
    private String contentRelId;

    public ContentDetailBean(String contentId) {
        this.contentId = contentId;
    }

    public ContentDetailBean(String contentId, int contentType) {
        this.contentId = contentId;
        this.contentType = contentType;
    }


    public ContentDetailBean(String contentId, int contentType, String contentRelId, String relType) {
        this.contentId = contentId;
        this.contentType = contentType;
        this.relId = contentRelId;
        this.contentRelId = contentRelId;
        this.relType = relType;
    }

    public ContentDetailBean(String contentId, String contentRelId, int relType) {
        this.contentId = contentId;
        this.relId = contentRelId;
        this.contentRelId = contentRelId;
        this.relType = relType+"";
    }

    public String getContentId() {
        return contentId;
    }

    public void setContentId(String contentId) {
        this.contentId = contentId;
    }

    public int getContentType() {
        return contentType;
    }

    public void setContentType(int contentType) {
        this.contentType = contentType;
    }

    public String getRelId() {
        return relId;
    }

    public void setRelId(String relId) {
        this.relId = relId;
        this.contentRelId = relId;
    }

    public String getRelType() {
        return relType;
    }

    public void setRelType(String relType) {
        this.relType = relType;
    }

    public String getContentRelId() {
        return contentRelId;
    }

    public void setContentRelId(String contentRelId) {
        this.contentRelId = contentRelId;
        this.relId = contentRelId;
    }
}