expireDate.cs 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Threading.Tasks;
  5. using ApiProcess.Models.bet;
  6. using CommonObj.model;
  7. using Newtonsoft.Json;
  8. namespace ApiProcess.Models.balance
  9. {
  10. public class expireDate
  11. {
  12. [JsonProperty("id")]
  13. public string id { get; set; }
  14. [JsonProperty("code")]
  15. public string code { get; set; }
  16. [JsonProperty("name")]
  17. public string name { get; set; }
  18. [JsonProperty("totalDay")]
  19. public string totalDay { get; set; }
  20. [JsonProperty("min")]
  21. public string min { get; set; }
  22. [JsonProperty("max")]
  23. public string max { get; set; }
  24. [JsonProperty("note")]
  25. public string note { get; set; }
  26. [JsonProperty("usersCreated")]
  27. public string usersCreated { get; set; }
  28. [JsonProperty("dateCreated")]
  29. public string dateCreated { get; set; }
  30. [JsonProperty("usersUpdate")]
  31. public string usersUpdate { get; set; }
  32. [JsonProperty("dateUpdate")]
  33. public string dateUpdate { get; set; }
  34. [JsonProperty("isActive")]
  35. public string isActive { get; set; }
  36. public override string ToString()
  37. {
  38. return JsonConvert.SerializeObject(this);
  39. }
  40. }
  41. public class expireDateList : Response
  42. {
  43. [JsonProperty("rowsOnPage")]
  44. public string rowsOnPage { get; set; }
  45. [JsonProperty("seqPage")]
  46. public string seqPage { get; set; }
  47. [JsonProperty("totalPage")]
  48. public string totalPage { get; set; }
  49. [JsonProperty("expireDateList")]
  50. public expireDate[] list { get; set; }
  51. public override string ToString()
  52. {
  53. return JsonConvert.SerializeObject(this);
  54. }
  55. }
  56. }