using System; using System.Xml.Serialization; namespace Top.Api.Domain { /// /// TmcMessage Data Structure. /// [Serializable] public class TmcMessage : TopObject { /// /// 消息详细内容,格式为JSON/XML /// [XmlElement("content")] public string Content { get; set; } /// /// 消息ID /// [XmlElement("id")] public long Id { get; set; } /// /// 消息发布者的AppKey /// [XmlElement("pub_app_key")] public string PubAppKey { get; set; } /// /// 消息发布时间 /// [XmlElement("pub_time")] public string PubTime { get; set; } /// /// 消息所属主题 /// [XmlElement("topic")] public string Topic { get; set; } /// /// 消息所属的用户编号 /// [XmlElement("user_id")] public long UserId { get; set; } /// /// 用户的昵称 /// [XmlElement("user_nick")] public string UserNick { get; set; } } }