package com.yidianling.im.bean;

import com.ydl.ydlcommon.data.http.BaseCommand;

/**
 * 举报心事或者心事回复(动态)
 * Created by hgw on 2018/3/13.
 */

public class ReportWorry extends BaseCommand {

    public int id;//心事id
    public int reasonId;//举报理由的id
    public int answerId;//如果是针对心事的举报，需要指定该值为0
    public String answerContent;//如果是针对心事的举报，指定该值为空即可
    public int type;//1举报心事(帖子和评论回复)，2个人

    //for worry
    public ReportWorry(int id, int reasonId) {
        this(id, reasonId, 0, null, 1);
    }

    // for worry's reply
    public ReportWorry(int id, int reasonId, int answerId, String answerContent, int type) {
        this.id = id;
        this.reasonId = reasonId;
        this.answerId = answerId;
        this.answerContent = answerContent;
        this.type = type;
    }

}