using System; using System.Collections.Generic; using System.Linq; using System.Web; using Newtonsoft.Json; namespace ResfullApi.Models { [Serializable] public class usersChatDetail { [JsonProperty("seq")] public string seq { get; set; } [JsonProperty("id")] public string id { get; set; } [JsonProperty("chatId")] public string chatId { get; set; } [JsonProperty("message")] public string message { get; set; } [JsonProperty("isCheck")] public string isCheck { get; set; } [JsonProperty("createdDate")] public string createdDate { get; set; } [JsonProperty("userIdSend")] public string userIdSend { get; set; } [JsonProperty("fullNamSend")] public string fullNamSend { get; set; } [JsonProperty("userIdReceived")] public string userIdReceived { get; set; } [JsonProperty("fullNamReceived")] public string fullNamReceived { get; set; } public override string ToString() { return JsonConvert.SerializeObject(this); } } public class usersChatDetailList { [JsonProperty("status")] public string status { get; set; } [JsonProperty("message")] public string message { get; set; } [JsonProperty("rowsOnPage")] public string rowsOnPage { get; set; } [JsonProperty("seqPage")] public string seqPage { get; set; } [JsonProperty("totalPage")] public string totalPage { get; set; } [JsonProperty("listUsersChatDetail")] public usersChatDetail[] listUsersChatDetail { get; set; } public override string ToString() { return JsonConvert.SerializeObject(this); } } }