using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CallCenter.WebChatServer
{
    public class ChatClass
    {
        /// <summary>
        /// 客服类
        /// </summary>
        public class Servicer
        {
            public string SessionID { get; set; }
            public string Code { get; set; }
            public string Name { get; set; }
            public string HeadImgUrl { get; set; }
            public int State { get; set; }
            public int Count { get; set; }
        }

        /// <summary>
        /// 客户类
        /// </summary>
        public class Customer
        {
            public string SessionID { get; set; }
            public string ServicerSessionID { get; set; }
            public string Code { get; set; }
            public string Name { get; set; }
            public string HeadImgUrl { get; set; }
            public object IPData { get; set; }
            public int IsSend { get; set; }
        }

        /// <summary>
        /// 消息类
        /// </summary>
        public class Message
        {
            public string action { get; set; }
            public string msg { get; set; }
            public string code { get; set; }
            public string name { get; set; }
            public string headimgurl { get; set; }
            public object data { get; set; }
            public int state { get; set; }
            public string time { get; set; }
        }
        
    }
}
