clinic_list.dart 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. class ClinicList {
  2. String? msg;
  3. int? code;
  4. List<Data>? data;
  5. ClinicList({this.msg, this.code, this.data});
  6. ClinicList.fromJson(Map<String, dynamic> json) {
  7. msg = json['msg'];
  8. code = json['code'];
  9. if (json['data'] != null) {
  10. data = <Data>[];
  11. json['data'].forEach((v) {
  12. data!.add(new Data.fromJson(v));
  13. });
  14. }
  15. }
  16. Map<String, dynamic> toJson() {
  17. final Map<String, dynamic> data = new Map<String, dynamic>();
  18. data['msg'] = this.msg;
  19. data['code'] = this.code;
  20. if (this.data != null) {
  21. data['data'] = this.data!.map((v) => v.toJson()).toList();
  22. }
  23. return data;
  24. }
  25. }
  26. class Data {
  27. String? id;
  28. int? isDel;
  29. String? createDate;
  30. String? createUser;
  31. String? updateDate;
  32. String? updateUser;
  33. Null? tenantId;
  34. String? clinicCode;
  35. String? clinicName;
  36. String? clinicIp;
  37. String? serverPost;
  38. String? webSocketPost;
  39. String? serverUser;
  40. String? serverPassword;
  41. String? realmName;
  42. String? creatTime;
  43. String? expireTime;
  44. String? versionInfo;
  45. String? region;
  46. String? phone;
  47. String? address;
  48. String? statusInt;
  49. String? quota;
  50. String? serverCode;
  51. String? versionRefer;
  52. String? versionRepair;
  53. String? repairCode;
  54. Null? pageNum;
  55. Null? pageSize;
  56. String? vcode;
  57. Data(
  58. {this.id,
  59. this.isDel,
  60. this.createDate,
  61. this.createUser,
  62. this.updateDate,
  63. this.updateUser,
  64. this.tenantId,
  65. this.clinicCode,
  66. this.clinicName,
  67. this.clinicIp,
  68. this.serverPost,
  69. this.webSocketPost,
  70. this.serverUser,
  71. this.serverPassword,
  72. this.realmName,
  73. this.creatTime,
  74. this.expireTime,
  75. this.versionInfo,
  76. this.region,
  77. this.phone,
  78. this.address,
  79. this.statusInt,
  80. this.quota,
  81. this.serverCode,
  82. this.versionRefer,
  83. this.versionRepair,
  84. this.repairCode,
  85. this.pageNum,
  86. this.pageSize,
  87. this.vcode});
  88. Data.fromJson(Map<String, dynamic> json) {
  89. id = json['id'];
  90. isDel = json['isDel'];
  91. createDate = json['createDate'];
  92. createUser = json['createUser'];
  93. updateDate = json['updateDate'];
  94. updateUser = json['updateUser'];
  95. tenantId = json['tenantId'];
  96. clinicCode = json['clinicCode'];
  97. clinicName = json['clinicName'];
  98. clinicIp = json['clinicIp'];
  99. serverPost = json['serverPost'];
  100. webSocketPost = json['webSocketPost'];
  101. serverUser = json['serverUser'];
  102. serverPassword = json['serverPassword'];
  103. realmName = json['realmName'];
  104. creatTime = json['creatTime'];
  105. expireTime = json['expireTime'];
  106. versionInfo = json['versionInfo'];
  107. region = json['region'];
  108. phone = json['phone'];
  109. address = json['address'];
  110. statusInt = json['statusInt'];
  111. quota = json['quota'];
  112. serverCode = json['serverCode'];
  113. versionRefer = json['versionRefer'];
  114. versionRepair = json['versionRepair'];
  115. repairCode = json['repairCode'];
  116. pageNum = json['pageNum'];
  117. pageSize = json['pageSize'];
  118. vcode = json['vcode'];
  119. }
  120. Map<String, dynamic> toJson() {
  121. final Map<String, dynamic> data = new Map<String, dynamic>();
  122. data['id'] = this.id;
  123. data['isDel'] = this.isDel;
  124. data['createDate'] = this.createDate;
  125. data['createUser'] = this.createUser;
  126. data['updateDate'] = this.updateDate;
  127. data['updateUser'] = this.updateUser;
  128. data['tenantId'] = this.tenantId;
  129. data['clinicCode'] = this.clinicCode;
  130. data['clinicName'] = this.clinicName;
  131. data['clinicIp'] = this.clinicIp;
  132. data['serverPost'] = this.serverPost;
  133. data['webSocketPost'] = this.webSocketPost;
  134. data['serverUser'] = this.serverUser;
  135. data['serverPassword'] = this.serverPassword;
  136. data['realmName'] = this.realmName;
  137. data['creatTime'] = this.creatTime;
  138. data['expireTime'] = this.expireTime;
  139. data['versionInfo'] = this.versionInfo;
  140. data['region'] = this.region;
  141. data['phone'] = this.phone;
  142. data['address'] = this.address;
  143. data['statusInt'] = this.statusInt;
  144. data['quota'] = this.quota;
  145. data['serverCode'] = this.serverCode;
  146. data['versionRefer'] = this.versionRefer;
  147. data['versionRepair'] = this.versionRepair;
  148. data['repairCode'] = this.repairCode;
  149. data['pageNum'] = this.pageNum;
  150. data['pageSize'] = this.pageSize;
  151. data['vcode'] = this.vcode;
  152. return data;
  153. }
  154. }