using System; using System.Collections.Generic; using System.Linq; using System.Web; using Newtonsoft.Json; namespace ResfullApi.Models { [Serializable] // {"title":"xxxx","serviceId":"30","content":"cong hoa xa hoi chu nghia","dateSend":"01/12/2020 01:01:10"} public class newsSmsObjGetResponse { [JsonProperty("status")] public string status { get; set; } [JsonProperty("message")] public string message { get; set; } [JsonProperty("listNewsSms")] public newsSmsObj[] listNewsSms { get; set; } public override string ToString() { return JsonConvert.SerializeObject(this); } } }