storehouse_rsp.dart 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. import 'package:json_annotation/json_annotation.dart';
  2. import '../num_converter.dart';
  3. import '../string_converter.dart';
  4. part 'storehouse_rsp.g.dart';
  5. @JsonSerializable(converters: [NumConverter(), StringConverter()])
  6. class storehouseRspItemList {
  7. String? kqmc;
  8. String? tycfbm;
  9. String? cfmc;
  10. String? tyhwbm;
  11. String? bgr;
  12. String? jfsyrq;
  13. String? cnzlxg;
  14. String? cmsl;
  15. String? clgx;
  16. String? lspzmc;
  17. String? lsxzmc;
  18. String? lsdjmc;
  19. String? lqgsdw;
  20. String? rcsj;
  21. String? shnd;
  22. String? cd;
  23. String? cfzt;
  24. String? cflx;
  25. String? ajsjcr;
  26. String? jjsl;
  27. String? sjsynx;
  28. String? zjbgdh;
  29. String? jysj;
  30. String? jyr;
  31. String? jylb;
  32. String? spaqzb;
  33. String? rkrq;
  34. String? jyxm;
  35. String? jyxmz;
  36. String? ckg;
  37. String? zjsjList;
  38. String? isUnanimous;
  39. String? reason;
  40. String? ajmc;
  41. String? hwmc;
  42. storehouseRspItemList({
  43. this.kqmc,
  44. this.tycfbm,
  45. this.cfmc,
  46. this.tyhwbm,
  47. this.bgr,
  48. this.jfsyrq,
  49. this.cnzlxg,
  50. this.cmsl,
  51. this.clgx,
  52. this.lspzmc,
  53. this.lsxzmc,
  54. this.lsdjmc,
  55. this.lqgsdw,
  56. this.rcsj,
  57. this.shnd,
  58. this.cd,
  59. this.cfzt,
  60. this.cflx,
  61. this.ajsjcr,
  62. this.jjsl,
  63. this.sjsynx,
  64. this.zjbgdh,
  65. this.jysj,
  66. this.jyr,
  67. this.jylb,
  68. this.spaqzb,
  69. this.rkrq,
  70. this.jyxm,
  71. this.jyxmz,
  72. this.ckg,
  73. this.zjsjList,
  74. this.isUnanimous,
  75. this.reason,
  76. this.ajmc,
  77. this.hwmc,
  78. });
  79. factory storehouseRspItemList.fromJson(Map<String, dynamic> json) => _$storehouseRspItemListFromJson(json);
  80. Map<String, dynamic> toJson()=> _$storehouseRspItemListToJson(this);
  81. // 2021-07-1518:20:50.000000
  82. String? timeStr(){
  83. if (rcsj == null) return null;
  84. var time = rcsj!.substring(0, 10);
  85. return time;
  86. }
  87. }
  88. @JsonSerializable(converters: [NumConverter(), StringConverter()])
  89. class storehouseRsp {
  90. String? kqmc;
  91. String? tycfbm;
  92. String? cfmc;
  93. String? ajmc;
  94. String? hwmc;
  95. String? tyhwbm;
  96. String? bgr;
  97. String? jfsyrq;
  98. String? cnzlxg;
  99. String? cmsl;
  100. String? clgx;
  101. String? lspzmc;
  102. String? lsxzmc;
  103. String? lsdjmc;
  104. String? lqgsdw;
  105. String? rcsj;
  106. String? shnd;
  107. String? cd;
  108. String? cfzt;
  109. String? cflx;
  110. String? ajsjcr;
  111. String? jjsl;
  112. String? sjsynx;
  113. String? zjbgdh;
  114. String? jysj;
  115. String? jyr;
  116. String? jylb;
  117. String? spaqzb;
  118. String? rkrq;
  119. String? jyxm;
  120. String? jyxmz;
  121. String? ckg;
  122. String? zjsjList;
  123. String? isUnanimous;
  124. String? reason;
  125. List<storehouseRspItemList?>? itemList;
  126. storehouseRsp({
  127. this.kqmc,
  128. this.tycfbm,
  129. this.cfmc,
  130. this.ajmc,
  131. this.hwmc,
  132. this.tyhwbm,
  133. this.bgr,
  134. this.jfsyrq,
  135. this.cnzlxg,
  136. this.cmsl,
  137. this.clgx,
  138. this.lspzmc,
  139. this.lsxzmc,
  140. this.lsdjmc,
  141. this.lqgsdw,
  142. this.rcsj,
  143. this.shnd,
  144. this.cd,
  145. this.cfzt,
  146. this.cflx,
  147. this.ajsjcr,
  148. this.jjsl,
  149. this.sjsynx,
  150. this.zjbgdh,
  151. this.jysj,
  152. this.jyr,
  153. this.jylb,
  154. this.spaqzb,
  155. this.rkrq,
  156. this.jyxm,
  157. this.jyxmz,
  158. this.ckg,
  159. this.zjsjList,
  160. this.isUnanimous,
  161. this.reason,
  162. this.itemList,
  163. });
  164. factory storehouseRsp.fromJson(Map<String, dynamic> json) => _$storehouseRspFromJson(json);
  165. Map<String, dynamic> toJson() => _$storehouseRspToJson(this);
  166. }