import 'package:json_annotation/json_annotation.dart'; import '../num_converter.dart'; import '../string_converter.dart'; part 'storehouse_rsp.g.dart'; @JsonSerializable(converters: [NumConverter(), StringConverter()]) class storehouseRspItemList { String? kqmc; String? tycfbm; String? cfmc; String? tyhwbm; String? bgr; String? jfsyrq; String? cnzlxg; String? cmsl; String? clgx; String? lspzmc; String? lsxzmc; String? lsdjmc; String? lqgsdw; String? rcsj; String? shnd; String? cd; String? cfzt; String? cflx; String? ajsjcr; String? jjsl; String? sjsynx; String? zjbgdh; String? jysj; String? jyr; String? jylb; String? spaqzb; String? rkrq; String? jyxm; String? jyxmz; String? ckg; String? zjsjList; String? isUnanimous; String? reason; String? ajmc; String? hwmc; storehouseRspItemList({ this.kqmc, this.tycfbm, this.cfmc, this.tyhwbm, this.bgr, this.jfsyrq, this.cnzlxg, this.cmsl, this.clgx, this.lspzmc, this.lsxzmc, this.lsdjmc, this.lqgsdw, this.rcsj, this.shnd, this.cd, this.cfzt, this.cflx, this.ajsjcr, this.jjsl, this.sjsynx, this.zjbgdh, this.jysj, this.jyr, this.jylb, this.spaqzb, this.rkrq, this.jyxm, this.jyxmz, this.ckg, this.zjsjList, this.isUnanimous, this.reason, this.ajmc, this.hwmc, }); factory storehouseRspItemList.fromJson(Map json) => _$storehouseRspItemListFromJson(json); Map toJson()=> _$storehouseRspItemListToJson(this); // 2021-07-1518:20:50.000000 String? timeStr(){ if (rcsj == null) return null; var time = rcsj!.substring(0, 10); return time; } } @JsonSerializable(converters: [NumConverter(), StringConverter()]) class storehouseRsp { String? kqmc; String? tycfbm; String? cfmc; String? ajmc; String? hwmc; String? tyhwbm; String? bgr; String? jfsyrq; String? cnzlxg; String? cmsl; String? clgx; String? lspzmc; String? lsxzmc; String? lsdjmc; String? lqgsdw; String? rcsj; String? shnd; String? cd; String? cfzt; String? cflx; String? ajsjcr; String? jjsl; String? sjsynx; String? zjbgdh; String? jysj; String? jyr; String? jylb; String? spaqzb; String? rkrq; String? jyxm; String? jyxmz; String? ckg; String? zjsjList; String? isUnanimous; String? reason; List? itemList; storehouseRsp({ this.kqmc, this.tycfbm, this.cfmc, this.ajmc, this.hwmc, this.tyhwbm, this.bgr, this.jfsyrq, this.cnzlxg, this.cmsl, this.clgx, this.lspzmc, this.lsxzmc, this.lsdjmc, this.lqgsdw, this.rcsj, this.shnd, this.cd, this.cfzt, this.cflx, this.ajsjcr, this.jjsl, this.sjsynx, this.zjbgdh, this.jysj, this.jyr, this.jylb, this.spaqzb, this.rkrq, this.jyxm, this.jyxmz, this.ckg, this.zjsjList, this.isUnanimous, this.reason, this.itemList, }); factory storehouseRsp.fromJson(Map json) => _$storehouseRspFromJson(json); Map toJson() => _$storehouseRspToJson(this); }