newsSmsObjGetResponse.cs 692 B

1234567891011121314151617181920212223242526272829
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Web;
  5. using Newtonsoft.Json;
  6. namespace ResfullApi.Models
  7. {
  8. [Serializable]
  9. // {"title":"xxxx","serviceId":"30","content":"cong hoa xa hoi chu nghia","dateSend":"01/12/2020 01:01:10"}
  10. public class newsSmsObjGetResponse
  11. {
  12. [JsonProperty("status")]
  13. public string status { get; set; }
  14. [JsonProperty("message")]
  15. public string message { get; set; }
  16. [JsonProperty("listNewsSms")]
  17. public newsSmsObj[] listNewsSms { get; set; }
  18. public override string ToString()
  19. {
  20. return JsonConvert.SerializeObject(this);
  21. }
  22. }
  23. }