serviceObj.cs 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  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 serviceObj
  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("description")]
  19. public string description { get; set; }
  20. [JsonProperty("shortCode")]
  21. public string shortCode { get; set; }
  22. [JsonProperty("command")]
  23. public string command { get; set; }
  24. [JsonProperty("contentEn")]
  25. public string contentEn { get; set; }
  26. [JsonProperty("contentFr")]
  27. public string contentFr { get; set; }
  28. [JsonProperty("contentLc")]
  29. public string contentLc { get; set; }
  30. [JsonProperty("note")]
  31. public string note { get; set; }
  32. [JsonProperty("companyId")]
  33. public string companyId { get; set; }
  34. [JsonProperty("usersCreated")]
  35. public string usersCreated { get; set; }
  36. [JsonProperty("dateCreated")]
  37. public string dateCreated { get; set; }
  38. [JsonProperty("usersUpdate")]
  39. public string usersUpdate { get; set; }
  40. [JsonProperty("dateUpdate")]
  41. public string dateUpdate { get; set; }
  42. [JsonProperty("msgRegisterSuccess")]
  43. public string msgRegisterSuccess { get; set; }
  44. [JsonProperty("msgRegisterFlase")]
  45. public string msgRegisterFlase { get; set; }
  46. [JsonProperty("msgConfirm")]
  47. public string msgConfirm { get; set; }
  48. [JsonProperty("isActive")]
  49. public string isActive { get; set; }
  50. [JsonProperty("isMyService")]
  51. public string isMyService { get; set; }
  52. [JsonProperty("serviceGroupName")]
  53. public string serviceGroupName { get; set; }
  54. [JsonProperty("serviceGroupId")]
  55. public string serviceGroupId { get; set; }
  56. [JsonProperty("apiServiceId")]
  57. public string apiServiceId { get; set; }
  58. public override string ToString()
  59. {
  60. return JsonConvert.SerializeObject(this);
  61. }
  62. }
  63. public class serviceObjList : Response
  64. {
  65. [JsonProperty("rowsOnPage")]
  66. public string rowsOnPage { get; set; }
  67. [JsonProperty("seqPage")]
  68. public string seqPage { get; set; }
  69. [JsonProperty("totalPage")]
  70. public string totalPage { get; set; }
  71. [JsonProperty("serviceObjList")]
  72. public serviceObj[] list { get; set; }
  73. public override string ToString()
  74. {
  75. return JsonConvert.SerializeObject(this);
  76. }
  77. }
  78. }