sample_task_rsp.dart 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806
  1. import 'package:json_annotation/json_annotation.dart';
  2. import 'package:lszlgl/model/num_converter.dart';
  3. import 'package:lszlgl/model/string_converter.dart';
  4. part 'sample_task_rsp.g.dart';
  5. @JsonSerializable(genericArgumentFactories: true)
  6. class SampleTaskListRsp {
  7. final num? total;
  8. final List<SampleTaskItem>? list;
  9. const SampleTaskListRsp({
  10. this.total,
  11. this.list,
  12. });
  13. factory SampleTaskListRsp.fromJson(Map<String, dynamic> json) => _$SampleTaskListRspFromJson(json);
  14. Map<String, dynamic> toJson() => _$SampleTaskListRspToJson(this);
  15. }
  16. @JsonSerializable(converters: [NumConverter(), StringConverter()])
  17. class SampleTaskItem {
  18. num? id;
  19. String? qyryName; // 人员名称
  20. String? fjrq; // 分解日期
  21. String? ypbh; // 样品编号
  22. String? jtpzmc; // 具体品种名称
  23. num? deliveryStatus; // 任务单任务状态:0是待扦样,1已扦样
  24. num? jhcysl; // 计划采样数量
  25. num? zljysl; // 质量检验数量
  26. num? pzjyjg; // 品质检验机构
  27. num? pzjysl; // 品质检验数量
  28. num? sajyjg; // 食安检验机构
  29. num? sajysl; // 食安检验数量
  30. num? jhcyjg; // 扦样机构
  31. String? lspz; // 粮食品种
  32. num? bchlx; // 病虫害类型
  33. String? bdcnhhhzs; // 被调查农户或合作社
  34. num? gcpwlx; // 工厂排污类型
  35. String? lxfs; // 联系方式
  36. num? qydbsl; // 扦样代表数量(公斤)
  37. String? qyddjwd; // 扦样地点经纬度
  38. String? qysj; // 扦样时间
  39. num? qysl; // 扦样数量(公斤)
  40. bool? scgczsffsbjyzdbch; // 生产过程中是否发生比较严重的病虫害
  41. String? sheng; // 省
  42. String? shi; // 市
  43. String? qu; // 区
  44. String? xian; // 县
  45. String? cun; // 村
  46. num? shidu; // 湿度
  47. String? shsj; // 收获时间
  48. num? trdllx; // 土壤地理类型
  49. num? wendu; // 温度
  50. num? wrwlx; // 污染物类型
  51. num? zzmj; // 种植面积(亩地)
  52. bool? zztdzwsfygcpw; // 种植土地周围是否有工厂排污
  53. bool? zztdzwsysytrsfywr; // 种植土地周围使用水源、土壤是否有污染
  54. num? zjBaseEnterpriseId; // 企业基本信息ID
  55. num? zjBasePersonnelId; // 人员基本信息表ID
  56. num? zjCodeSamplingTaskId;
  57. num? zjCodeSamplingPlanId; // 采样计划详情ID
  58. String? xzqh; // 行政区划
  59. num? zjBaseGrainInformationId; // 品种id
  60. num? cypzmc; // 采样品种名称
  61. String? cypzName; // 采样品种名称
  62. String? qyrwdh; // 扦样任务单号
  63. num? shengXzqh; // 省行政区划id
  64. num? shiXzqh; // 市行政区划id
  65. num? quXzqh; // 区行政区划id
  66. num? xiangXzqh; // 县行政区划id
  67. num? cunXzqh; // 村行政区划id
  68. num? createTime; // 创建时间
  69. num? state; // 0是待扦样,1已扦样,2已完成
  70. String? name; // 扦样人员姓名
  71. String? rwjssj; // 任务接收时间
  72. String? bsjzsj; // 报送截止时间
  73. num? rwlx; // 任务类型/监测环节
  74. num? jclb; // 监测类别
  75. String? dwmc; // 单位名称
  76. List<EnterpriseItem>? enterpriseList; // 机构信息
  77. List<UseMedicineItem>? codeUseMedicineList; // 种植期间农药使用情况
  78. String? zzpz; // 种植品种
  79. String? shengXzqhName; // 省
  80. String? shiXzqhName; // 市
  81. String? quXzqhName; // 区
  82. String? xiangXzqhName; // 县
  83. String? cunXzqhName; // 村
  84. String? cyjhbmCode; // 采样计划编号
  85. String? cyjhmc; // 采样计划名称
  86. String? niandu; // 年度
  87. List<SamplingTaskAllotSgjcItem>? codeSamplingTaskAllotSgjcRespList; // 任务分配
  88. // List<>? codeSamplingTaskDetailsKcjcRespVO; // 库存检测
  89. // List<>? fplist; // 分配多条信息
  90. num? sfyzpz; // 是否优质品种
  91. num? yzpzlx; // 优质品种类型
  92. num? shqjsffslyytq; // 收货期间是否发生连阴雨天气
  93. num? shlssfsfpg; // 收货粮食水分是否偏高
  94. num? jnlbdsffszmwr; // 近年来本地是否发生真菌毒素污染
  95. num? zjdswrlx; // 真菌毒素污染类型
  96. num? jnlbdsfzjswr; // 近年来本地是否发生重金属污染
  97. num? zjswrlx; // 重金属污染类型
  98. List<JyjgxxItem>? jyjgxxRespVOList; // 检验机构信息
  99. num? jypzStatus; // 检验品质按钮0显示1不显示
  100. SampleTaskItem({
  101. this.id,
  102. this.qyryName,
  103. this.fjrq,
  104. this.ypbh,
  105. this.jtpzmc,
  106. this.deliveryStatus,
  107. this.jhcysl,
  108. this.zljysl,
  109. this.pzjyjg,
  110. this.pzjysl,
  111. this.sajyjg,
  112. this.sajysl,
  113. this.jhcyjg,
  114. this.lspz,
  115. this.bchlx,
  116. this.bdcnhhhzs,
  117. this.gcpwlx,
  118. this.lxfs,
  119. this.qydbsl,
  120. this.qyddjwd,
  121. this.qysj,
  122. this.qysl,
  123. this.scgczsffsbjyzdbch,
  124. this.sheng,
  125. this.shi,
  126. this.qu,
  127. this.xian,
  128. this.cun,
  129. this.shidu,
  130. this.shsj,
  131. this.trdllx,
  132. this.wendu,
  133. this.wrwlx,
  134. this.zzmj,
  135. this.zztdzwsfygcpw,
  136. this.zztdzwsysytrsfywr,
  137. this.zjBaseEnterpriseId,
  138. this.zjBasePersonnelId,
  139. this.zjCodeSamplingTaskId,
  140. this.zjCodeSamplingPlanId,
  141. this.xzqh,
  142. this.zjBaseGrainInformationId,
  143. this.cypzmc,
  144. this.cypzName,
  145. this.qyrwdh,
  146. this.shengXzqh,
  147. this.shiXzqh,
  148. this.quXzqh,
  149. this.xiangXzqh,
  150. this.cunXzqh,
  151. this.createTime,
  152. this.state,
  153. this.name,
  154. this.rwjssj,
  155. this.bsjzsj,
  156. this.rwlx,
  157. this.jclb,
  158. this.dwmc,
  159. this.enterpriseList,
  160. this.codeUseMedicineList,
  161. this.zzpz,
  162. this.shengXzqhName,
  163. this.shiXzqhName,
  164. this.quXzqhName,
  165. this.xiangXzqhName,
  166. this.cunXzqhName,
  167. this.cyjhbmCode,
  168. this.cyjhmc,
  169. this.niandu,
  170. this.codeSamplingTaskAllotSgjcRespList,
  171. this.sfyzpz,
  172. this.yzpzlx,
  173. this.shqjsffslyytq,
  174. this.shlssfsfpg,
  175. this.jnlbdsffszmwr,
  176. this.zjdswrlx,
  177. this.jnlbdsfzjswr,
  178. this.zjswrlx,
  179. this.jyjgxxRespVOList,
  180. this.jypzStatus,
  181. });
  182. factory SampleTaskItem.fromJson(Map<String, dynamic> json) => _$SampleTaskItemFromJson(json);
  183. Map<String, dynamic> toJson() => _$SampleTaskItemToJson(this);
  184. String getDeliveryStatusText() {
  185. return switch (deliveryStatus) { 0 => '待扦样', 1 => '已扦样', _ => '' };
  186. }
  187. Map<String, dynamic> getReqJson() {
  188. Map<String, dynamic> map = {};
  189. map['id'] = id;
  190. map['shengXzqh'] = shengXzqh;
  191. map['shiXzqh'] = shiXzqh;
  192. map['quXzqh'] = quXzqh;
  193. map['xiangXzqh'] = xiangXzqh;
  194. map['cunXzqh'] = cunXzqh;
  195. map['qyddjwd'] = qyddjwd;
  196. map['zzmj'] = zzmj;
  197. map['trdllx'] = trdllx;
  198. map['bdcnhhhzs'] = bdcnhhhzs;
  199. map['lxfs'] = lxfs;
  200. map['lspz'] = lspz;
  201. map['jtpzmc'] = jtpzmc;
  202. map['sfyzpz'] = sfyzpz;
  203. map['yzpzlx'] = yzpzlx;
  204. map['shsj'] = shsj;
  205. map['qysj'] = qysj;
  206. map['qysl'] = qysl;
  207. map['qydbsl'] = qydbsl;
  208. map['wendu'] = wendu;
  209. map['shidu'] = shidu;
  210. map['zztdzwsfygcpw'] = zztdzwsfygcpw;
  211. map['gcpwlx'] = gcpwlx;
  212. map['zztdzwsysytrsfywr'] = zztdzwsysytrsfywr;
  213. map['wrwlx'] = wrwlx;
  214. map['scgczsffsbjyzdbch'] = scgczsffsbjyzdbch;
  215. map['bchlx'] = bchlx;
  216. map['shqjsffslyytq'] = shqjsffslyytq;
  217. map['shlssfsfpg'] = shlssfsfpg;
  218. map['jnlbdsffszmwr'] = jnlbdsffszmwr;
  219. map['zjdswrlx'] = zjdswrlx;
  220. map['jnlbdsfzjswr'] = jnlbdsfzjswr;
  221. map['zjswrlx'] = zjswrlx;
  222. map['codeUseMedicineList'] = codeUseMedicineList?.map((e) => e.toReqJson()).toList();
  223. return map;
  224. }
  225. }
  226. @JsonSerializable(converters: [NumConverter(), StringConverter()])
  227. class EnterpriseItem {
  228. final num? id; // 单位id
  229. final String? address; // 具体地址
  230. final String? beizhu; // 备注
  231. final num? bgsmj; // 办公室面积(m²)
  232. final num? cqlb; // 产权类别
  233. final num? dnczbksr; // 当年财政拨款收入
  234. final num? dnywwtsr; // 当年业务委托收入
  235. final num? dwdzSheng; // 省id
  236. final String? dwdzShengName; // 省名称
  237. final num? dwdzShi; // 市id
  238. final String? dwdzShiName; // 市名称
  239. final num? dwdzXian; // 县id
  240. final String? dwdzXianName; //县名称
  241. final num? dwjb; // 单位级别
  242. final String? dwmc; //单位名称
  243. final num? dwxz; //单位性质
  244. final String? frdb; //法人代表
  245. final num? jglb; //机构类别
  246. final num? jyyrs; //检验员人数
  247. final String? lxfs; //联系方式
  248. final num? rybzsl; //人员编制数量
  249. final String? shtyxydm; //社会统一信用代码
  250. final num? sysmj; //实验室面积(m²)
  251. final num? zjzmj; //总建筑面积(m²)
  252. final num? zrs; //总人数
  253. final String? dwdz; //单位地址
  254. final String? createTime; //创建时间
  255. final String? creatorDeptId; //创建人所在部门id
  256. final num? deptId; //隶属部门Id
  257. final String? sjzgdw; //上级主管单位
  258. // final List<>? jyllList; //检验能力集合
  259. // final List<>? jyzsList; //检验证书集合
  260. final String? flowCode; //审核编号
  261. final num? flowStatus; //审核状态:0待发起,1审核中,2通过,3驳回
  262. final String? flowCause; //审核意见
  263. final num? flowCheckUserId; //审核人id
  264. final String? flowTime; //审核时间
  265. // final List<>? kycxtdList; //科研创新团队
  266. // final List<>? xdbzList; //牵头或参与制修订标准
  267. // final List<>? kyxmList; //牵头或参与负责科研项目
  268. // final List<>? hdryList; //获得荣誉
  269. // final List<>? personnelList; //人员信息
  270. // final List<>? instrumentEquipmentList; //设备信息
  271. final num? personnelCount; //人员数量
  272. final num? instrumentEquipmentCount; //设备数量
  273. // final List<>? filePictureList; //附件(图片)地址
  274. // final List<>? filePictureTwoList; //附件(图片)地址
  275. // final List<>? guaPaiDeptRespVoList; //挂牌部门集合
  276. const EnterpriseItem({
  277. this.id,
  278. this.address,
  279. this.beizhu,
  280. this.bgsmj,
  281. this.cqlb,
  282. this.dnczbksr,
  283. this.dnywwtsr,
  284. this.dwdzSheng,
  285. this.dwdzShengName,
  286. this.dwdzShi,
  287. this.dwdzShiName,
  288. this.dwdzXian,
  289. this.dwdzXianName,
  290. this.dwjb,
  291. this.dwmc,
  292. this.dwxz,
  293. this.frdb,
  294. this.jglb,
  295. this.jyyrs,
  296. this.lxfs,
  297. this.rybzsl,
  298. this.shtyxydm,
  299. this.sysmj,
  300. this.zjzmj,
  301. this.zrs,
  302. this.dwdz,
  303. this.createTime,
  304. this.creatorDeptId,
  305. this.deptId,
  306. this.sjzgdw,
  307. this.flowCode,
  308. this.flowStatus,
  309. this.flowCause,
  310. this.flowCheckUserId,
  311. this.flowTime,
  312. this.personnelCount,
  313. this.instrumentEquipmentCount,
  314. });
  315. factory EnterpriseItem.fromJson(Map<String, dynamic> json) => _$EnterpriseItemFromJson(json);
  316. Map<String, dynamic> toJson() => _$EnterpriseItemToJson(this);
  317. }
  318. @JsonSerializable(converters: [NumConverter(), StringConverter()])
  319. class UseMedicineItem {
  320. num? id; //ID
  321. String? cjsj; //创建时间
  322. String? syff; //施药方式
  323. String? synypz; //使用农药品种
  324. num? synysl; //扦样使用农药的数量(公斤或毫升/每亩地)
  325. String? sysj; //施药时间
  326. num? zjCodeSamplingTaskDetailsKcjcId;
  327. num? zjCodeSamplingTaskDetailsSgjcId;
  328. String? createTime; //创建时间
  329. String? jcz; //检测值
  330. String? zczfw; //正常值范围
  331. UseMedicineItem({
  332. this.id,
  333. this.cjsj,
  334. this.syff,
  335. this.synypz,
  336. this.synysl,
  337. this.sysj,
  338. this.zjCodeSamplingTaskDetailsKcjcId,
  339. this.zjCodeSamplingTaskDetailsSgjcId,
  340. this.createTime,
  341. this.jcz,
  342. this.zczfw,
  343. });
  344. factory UseMedicineItem.fromJson(Map<String, dynamic> json) => _$UseMedicineItemFromJson(json);
  345. Map<String, dynamic> toJson() => _$UseMedicineItemToJson(this);
  346. Map<String, dynamic> toReqJson() {
  347. Map<String, dynamic> map = {};
  348. map['id'] = id;
  349. map['synypz'] = synypz;
  350. map['synysl'] = synysl;
  351. map['sysj'] = sysj;
  352. map['syff'] = syff;
  353. return map;
  354. }
  355. }
  356. @JsonSerializable(converters: [NumConverter(), StringConverter()])
  357. class SamplingTaskAllotSgjcItem {
  358. final num? id; //id
  359. final num? zjBaseGrainInformationId; //品种id
  360. final String? cypzmc; //采样品种名称
  361. final num? samplingCount; //计划采样数量
  362. final String? bsjzsj; //报送截至时间
  363. final num? personnelId; // 人员id
  364. final num? zjCodeSamplingPlanId; //计划id
  365. final num? zjCodeSamplingTaskId; //任务id
  366. final String? creater; //创建人
  367. final String? createDate; //创建时间
  368. final String? updateDate; //修改时间
  369. final String? cyjhbmCode; //采样计划编号
  370. final String? cyjhmc; //采样计划名称
  371. final String? niandu; //年度
  372. final String? zzpz; //种植品种
  373. final num? jhcysl; //计划采样数量
  374. const SamplingTaskAllotSgjcItem({
  375. this.id,
  376. this.zjBaseGrainInformationId,
  377. this.cypzmc,
  378. this.samplingCount,
  379. this.bsjzsj,
  380. this.personnelId,
  381. this.zjCodeSamplingPlanId,
  382. this.zjCodeSamplingTaskId,
  383. this.creater,
  384. this.createDate,
  385. this.updateDate,
  386. this.cyjhbmCode,
  387. this.cyjhmc,
  388. this.niandu,
  389. this.zzpz,
  390. this.jhcysl,
  391. });
  392. factory SamplingTaskAllotSgjcItem.fromJson(Map<String, dynamic> json) => _$SamplingTaskAllotSgjcItemFromJson(json);
  393. Map<String, dynamic> toJson() => _$SamplingTaskAllotSgjcItemToJson(this);
  394. }
  395. @JsonSerializable(converters: [NumConverter(), StringConverter()])
  396. class JyjgxxItem {
  397. //企业id
  398. final num? zjBaseEnterpriseId;
  399. //单位名称
  400. final String? dwmc;
  401. //具体地址
  402. final String? address;
  403. //检验单号
  404. final String? jydh;
  405. //样品接收时间
  406. final String? ypjssj;
  407. //数据标记 1-质量,2-品质,3-食品安全,4-储存
  408. final num? sjbj;
  409. const JyjgxxItem({
  410. this.zjBaseEnterpriseId,
  411. this.dwmc,
  412. this.address,
  413. this.jydh,
  414. this.ypjssj,
  415. this.sjbj,
  416. });
  417. factory JyjgxxItem.fromJson(Map<String, dynamic> json) => _$JyjgxxItemFromJson(json);
  418. Map<String, dynamic> toJson() => _$JyjgxxItemToJson(this);
  419. }
  420. @JsonSerializable(converters: [NumConverter(), StringConverter()])
  421. class SampleTaskItemKcjcRsp {
  422. /// ID
  423. num? id;
  424. /// 检验人员ID
  425. num? zjBasePersonnelId;
  426. ///
  427. num? zjCodeSamplingTaskId;
  428. /// 采样计划详情ID
  429. num? zjCodeSamplingPlanId;
  430. /// 创建时间
  431. String? createTime;
  432. /// 机构id
  433. num? zjBaseEnterpriseId;
  434. /// (下发或分解)行政区划Id
  435. num? xzqh;
  436. /// 是否施药
  437. num? sfsy;
  438. /// 编码
  439. String? code;
  440. /// 备注
  441. String? bz;
  442. /// 承储企业名称
  443. String? ccqymc;
  444. /// 扦样仓房
  445. String? qycf;
  446. /// 扦样货位
  447. String? qyhw;
  448. /// 扦样区域
  449. String? qyqy;
  450. /// 仓型
  451. String? cangxing;
  452. /// 入库时间
  453. String? rksj;
  454. /// 入库等级
  455. num? rkdj;
  456. /// 上层粮温(℃)
  457. num? sclw;
  458. /// 产地
  459. String? guoChandi;
  460. /// 产地
  461. String? shengChandi;
  462. /// 代表数量(吨)
  463. num? dbsl;
  464. /// 粮食性质--库存性质
  465. String? lsxz;
  466. /// 收获年度
  467. String? shnd;
  468. /// 扦样时间
  469. String? qysj;
  470. /// 最近施药时间
  471. String? zjsysj;
  472. /// 使用药剂名称
  473. String? syyjmc;
  474. /// 虫害发生情况
  475. num? chfsqk;
  476. /// 扦样时上层粮温(℃)
  477. num? qyssclw;
  478. /// 储粮技术设施
  479. String? cljsss;
  480. /// 扦样任务单号
  481. String? qyrwdh;
  482. /// 样品编号
  483. String? ypbh;
  484. /// 扦样人员姓名
  485. String? name;
  486. /// 任务类型
  487. num? rwlx;
  488. /// 单位名称
  489. String? dwmc;
  490. /// 采样品种名称
  491. num? cypzmc;
  492. /// 采样品种名称
  493. String? cypzName;
  494. /// 种植品种
  495. String? zzpz;
  496. /// 计划采样数量
  497. num? jhcysl;
  498. /// 品质检验数量
  499. num? pzjysl;
  500. /// 质量检验数量
  501. num? zljysl;
  502. /// 食安检验数量
  503. num? sajysl;
  504. /// 储存检验数量
  505. num? ccjysl;
  506. /// 报送截止时间
  507. String? bsjzsj;
  508. /// 扦样机构
  509. num? jhcyjg;
  510. /// 品种id
  511. num? zjBaseGrainInformationId;
  512. /// 采样计划编号
  513. String? cyjhbmCode;
  514. /// 采样计划名称
  515. String? cyjhmc;
  516. /// 年度
  517. String? niandu;
  518. ///
  519. List<SampleTaskAllotItemRsp>? codeSamplingTaskAllotSgjcRespList;
  520. /// 分解状态0是未分解,1已保存,2已分解
  521. num? state;
  522. /// 人员名称
  523. String? qyryName;
  524. /// 下发部门
  525. String? xfbmName;
  526. /// 任务单任务状态:0是待扦样,1已扦样
  527. num? deliveryStatus;
  528. /// 粮食品种
  529. num? lspz;
  530. /// 所在货位粮食总数(吨)
  531. String? szhwlszs;
  532. /// 附件地址
  533. List<FileRsp>? fileList;
  534. ///
  535. num? jclb;
  536. SampleTaskItemKcjcRsp({
  537. this.id,
  538. this.zjBasePersonnelId,
  539. this.zjCodeSamplingTaskId,
  540. this.zjCodeSamplingPlanId,
  541. this.createTime,
  542. this.zjBaseEnterpriseId,
  543. this.xzqh,
  544. this.sfsy,
  545. this.code,
  546. this.bz,
  547. this.ccqymc,
  548. this.qycf,
  549. this.qyhw,
  550. this.qyqy,
  551. this.cangxing,
  552. this.rksj,
  553. this.rkdj,
  554. this.sclw,
  555. this.guoChandi,
  556. this.shengChandi,
  557. this.dbsl,
  558. this.lsxz,
  559. this.shnd,
  560. this.qysj,
  561. this.zjsysj,
  562. this.syyjmc,
  563. this.chfsqk,
  564. this.qyssclw,
  565. this.cljsss,
  566. this.qyrwdh,
  567. this.ypbh,
  568. this.name,
  569. this.rwlx,
  570. this.dwmc,
  571. this.cypzmc,
  572. this.cypzName,
  573. this.zzpz,
  574. this.jhcysl,
  575. this.pzjysl,
  576. this.zljysl,
  577. this.sajysl,
  578. this.ccjysl,
  579. this.bsjzsj,
  580. this.jhcyjg,
  581. this.zjBaseGrainInformationId,
  582. this.cyjhbmCode,
  583. this.cyjhmc,
  584. this.niandu,
  585. this.codeSamplingTaskAllotSgjcRespList,
  586. this.state,
  587. this.qyryName,
  588. this.xfbmName,
  589. this.deliveryStatus,
  590. this.lspz,
  591. this.szhwlszs,
  592. this.fileList,
  593. this.jclb,
  594. });
  595. factory SampleTaskItemKcjcRsp.fromJson(Map<String, dynamic> json) => _$SampleTaskItemKcjcRspFromJson(json);
  596. Map<String, dynamic> toJson() => _$SampleTaskItemKcjcRspToJson(this);
  597. }
  598. @JsonSerializable(converters: [NumConverter(), StringConverter()])
  599. class FileRsp {
  600. /// 文件编号
  601. num? id;
  602. /// 文件名
  603. String? name;
  604. /// 文件 URL
  605. String? url;
  606. /// 来源类型:0企业附件、1计划附件...
  607. num? objType;
  608. /// 来源id:企业id、计划id...
  609. num? objId;
  610. /// 来源细分:因为企业中有两个附件,要区分开
  611. num? type;
  612. FileRsp({
  613. this.id,
  614. this.name,
  615. this.url,
  616. this.objType,
  617. this.objId,
  618. this.type,
  619. });
  620. factory FileRsp.fromJson(Map<String, dynamic> json) => _$FileRspFromJson(json);
  621. Map<String, dynamic> toJson() => _$FileRspToJson(this);
  622. }
  623. @JsonSerializable(converters: [NumConverter(), StringConverter()])
  624. class SampleTaskAllotItemRsp {
  625. /// id
  626. num? id;
  627. /// 品种id
  628. num? zjBaseGrainInformationId;
  629. /// 采样品种名称
  630. String? cypzmc;
  631. /// 计划采样数量
  632. num? samplingCount;
  633. /// 报送截至时间
  634. String? bsjzsj;
  635. /// 人员id
  636. num? personnelId;
  637. /// 计划id
  638. num? zjCodeSamplingPlanId;
  639. /// 任务id
  640. num? zjCodeSamplingTaskId;
  641. ///
  642. String? creater;
  643. ///
  644. String? createDate;
  645. ///
  646. String? updateDate;
  647. /// 采样计划编号
  648. String? cyjhbmCode;
  649. /// 采样计划名称
  650. String? cyjhmc;
  651. /// 年度
  652. String? niandu;
  653. /// 种植品种
  654. String? zzpz;
  655. /// 计划采样数量
  656. num? jhcysl;
  657. /// 种植品种
  658. String? zzpzmc;
  659. SampleTaskAllotItemRsp({
  660. this.id,
  661. this.zjBaseGrainInformationId,
  662. this.cypzmc,
  663. this.samplingCount,
  664. this.bsjzsj,
  665. this.personnelId,
  666. this.zjCodeSamplingPlanId,
  667. this.zjCodeSamplingTaskId,
  668. this.creater,
  669. this.createDate,
  670. this.updateDate,
  671. this.cyjhbmCode,
  672. this.cyjhmc,
  673. this.niandu,
  674. this.zzpz,
  675. this.jhcysl,
  676. this.zzpzmc,
  677. });
  678. factory SampleTaskAllotItemRsp.fromJson(Map<String, dynamic> json) => _$SampleTaskAllotItemRspFromJson(json);
  679. Map<String, dynamic> toJson() => _$SampleTaskAllotItemRspToJson(this);
  680. }