using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace IPADDemo.Model { public class PackMsg { public string fromuser { get; set; } /// /// 红包key /// public string key { get; set; } /// /// 消息内容 /// public string msg { get; set; } /// /// 第几页 /// public int page { get; set; } /// /// 是否读完 /// public bool ok { get; set; } /// /// 红包数据 /// public Dictionary packitme { get; set; } public int Timestamp { get; set; } } public class packitme { [JsonProperty("receiveAmount")] public int ReceiveAmount { get; set; } [JsonProperty("receiveTime")] public string ReceiveTime { get; set; } [JsonProperty("answer")] public string Answer { get; set; } [JsonProperty("receiveId")] public string ReceiveId { get; set; } [JsonProperty("state")] public int State { get; set; } [JsonProperty("gameTips")] public string GameTips { get; set; } [JsonProperty("receiveOpenId")] public string ReceiveOpenId { get; set; } [JsonProperty("userName")] public string UserName { get; set; } public int xh { get; set; } } }