package com.yidianling.im.api.bean;

import com.google.gson.annotations.SerializedName;

/**
 * Created by hgw on 2018/3/13.
 */

public class IMShareDataBuild {
    public String toUid;
    public String doctorId;
    public String listenerId;
    //    public String name;
    public String title;
    @SerializedName(value = "isOnline", alternate = "is_online")
    public int is_online;//专家倾述在线状态 1.在线 2.离线 3通话中 4-继续拨打 ,
    public int isChatOnline;//专家私聊在线状态 1.在线 2.离线
    public String cover;
    public String desc;
    @SerializedName(value = "urlShare", alternate = "url_share")
    public String url_share;
    public String price;
    public String unitTxt;
    public String url;
    public String urlTitle;
    public String blackStatus;
    @SerializedName(value = "userType", alternate = "user_type")
    public int user_type;//1用户,2专家,3助理
    public int is_first;//1表示第一次聊天0不是

    public paramsBuild params = new paramsBuild();

    public int hasAvailableListenOrder;//是否还有未完成的倾诉订单 1、没有 2、有
    public int listenOrderCommentStatus;//倾诉订单评论状态 1：未评价 9：已评价 ,
    public String listenOrderCommentUrl;//倾诉订单评价页url
    public String listenOrderUrl;//订单详情页面url
    public String listenOrderDesc;//倾诉订单状态描述
    public String listenOrderRemainTime;//未完成倾诉订单剩余时间

    @SerializedName(value = "orderUrl", alternate = "order_url")
    public String order_url;
    @SerializedName(value = "name", alternate = "doctorName")
    public String doctorName;
    public Boolean isFollowed = false; // 是否关注
    /**
     * 是否开启电话倾诉
     * 1.开启 2.关闭
     */
    public int listenerIsOpen;

    public static class paramsBuild {
        //php接口此字段返回值始终为0，更换java接口后，服务端去掉了此字段，本地改动太多，先给默认值
        public String orderid = "0";
    }

    public String tag1 = ""; //该字段是私聊改造项目新加的，用于在获取推荐专家列表的时候，catName字段
}