using System;
using System.Collections.Generic;
using System.Text;
using System.Reflection;
using System.IO;

namespace  P
{
    /// <summary>
    /// Element节 消息，此消息类型及继承 允许保存为离线消息
    /// </summary>
    public class Element
    {
        /// <summary>
        /// 消息发送者
        /// </summary>
        public UInt32 From { get; set; }
        /// <summary>
        /// 消息发送者姓名
        /// </summary>
        public string FromName { get; set; }
        /// <summary>
        /// 消息发送者头像默认索引
        /// </summary>
        public Int32 FromHeadID { get; set; }
        /// <summary>
        /// 消息接收者
        /// </summary>
        public UInt32 To { get; set; }
        /// <summary>
        /// 设置群号。如果值不为0，表示消息发送给群
        /// </summary>
        public UInt32 RoomID { get; set; }
        /// <summary>
        /// 是否提示消息
        /// </summary>
        public bool SysMsg { get; set; }
        /// <summary>
        /// 消息发送时间
        /// </summary>
        public string DateTime { get; set; }
    }
}
