models.dart 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770
  1. //登录
  2. class Login {
  3. bool success;
  4. int code;
  5. String msg;
  6. LoginMap data;
  7. Login({
  8. this.success,
  9. this.code,
  10. this.msg,
  11. this.data,
  12. });
  13. factory Login.fromJson(Map<String, dynamic> json) {
  14. LoginMap tempData = LoginMap.fromJson(json['data']);
  15. return Login(
  16. success: json['success'],
  17. code: json['code'],
  18. msg: json['msg'],
  19. data: tempData);
  20. }
  21. }
  22. class LoginMap {
  23. String avatarUrl;
  24. String nickName;
  25. int roleType;
  26. String userId;
  27. int status;
  28. String token;
  29. String stationId;
  30. LoginMap(
  31. {this.userId,
  32. this.avatarUrl,
  33. this.nickName,
  34. this.roleType,
  35. this.status,
  36. this.token,
  37. this.stationId});
  38. factory LoginMap.fromJson(Map<String, dynamic> json) {
  39. return LoginMap(
  40. avatarUrl: json['avatarUrl'],
  41. nickName: json['nickName'],
  42. roleType: json['roleType'],
  43. userId: json['userId'],
  44. status: json['status'],
  45. token: json['token'],
  46. stationId: json['stationId'].toString());
  47. }
  48. }
  49. //接单页列表
  50. class OrderListObj {
  51. bool success;
  52. int code;
  53. String msg;
  54. OrderListData data;
  55. OrderListObj({this.success, this.code, this.msg, this.data});
  56. factory OrderListObj.fromJson(Map<String, dynamic> json) {
  57. return OrderListObj(
  58. success: json['success'],
  59. code: json['code'],
  60. msg: json['msg'],
  61. data: OrderListData.fromJson(json['data']));
  62. }
  63. }
  64. class OrderListData {
  65. bool hasNextPage;
  66. List<OrderList> items;
  67. int limit;
  68. int page;
  69. int totalCount;
  70. int totalPage;
  71. OrderListData(
  72. {this.hasNextPage,
  73. this.items,
  74. this.limit,
  75. this.page,
  76. this.totalCount,
  77. this.totalPage});
  78. factory OrderListData.fromJson(Map<String, dynamic> json) {
  79. List list = json['items'] as List;
  80. List<OrderList> tempOrderList =
  81. list.map((i) => OrderList.fromJson(i)).toList();
  82. return OrderListData(
  83. hasNextPage: json['hasNextPage'],
  84. items: tempOrderList,
  85. limit: json['limit'],
  86. page: json['page'],
  87. totalCount: json['totalCount'],
  88. totalPage: json['totalPage']);
  89. }
  90. }
  91. class OrderList {
  92. String orderNo;
  93. int createTime;
  94. String goods;
  95. int goodsQuantity;
  96. String receiptCompanyAddress;
  97. String receiptCompanyName;
  98. String receiptCompanyPhone;
  99. String sendCompanyAddress;
  100. String sendCompanyName;
  101. String sendCompanyPhone;
  102. OrderList(
  103. {this.orderNo,
  104. this.createTime,
  105. this.goods,
  106. this.goodsQuantity,
  107. this.receiptCompanyAddress,
  108. this.receiptCompanyName,
  109. this.receiptCompanyPhone,
  110. this.sendCompanyAddress,
  111. this.sendCompanyName,
  112. this.sendCompanyPhone});
  113. factory OrderList.fromJson(Map<String, dynamic> json) {
  114. return OrderList(
  115. orderNo: json['orderNo'],
  116. createTime: json['createTime'],
  117. goods: json['goods'],
  118. goodsQuantity: json['goodsQuantity'],
  119. receiptCompanyAddress: json['receiptCompanyAddress'],
  120. receiptCompanyName: json['receiptCompanyName'],
  121. receiptCompanyPhone: json['receiptCompanyPhone'],
  122. sendCompanyAddress: json['sendCompanyAddress'],
  123. sendCompanyName: json['sendCompanyName'],
  124. sendCompanyPhone: json['sendCompanyPhone']);
  125. }
  126. }
  127. //获取站点
  128. class Station {
  129. bool success;
  130. int code;
  131. String msg;
  132. List<StationList> data;
  133. Station({this.success, this.code, this.msg, this.data});
  134. factory Station.fromJson(Map<String, dynamic> json) {
  135. List list = json['data'] as List;
  136. print(list.toString());
  137. List<StationList> tempList =
  138. list.map((i) => StationList.fromJson(i)).toList();
  139. return Station(
  140. success: json['success'],
  141. code: json['code'],
  142. msg: json['msg'],
  143. data: tempList);
  144. }
  145. }
  146. class StationList {
  147. String code;
  148. int id;
  149. String name;
  150. int stationStatus;
  151. int status;
  152. StationList({this.code, this.id, this.name, this.stationStatus, this.status});
  153. factory StationList.fromJson(Map<String, dynamic> json) {
  154. return StationList(
  155. code: json['code'],
  156. id: json['id'],
  157. name: json['name'],
  158. stationStatus: json['stationStatus'],
  159. status: json['status']);
  160. }
  161. }
  162. //站点线路
  163. class StationLine {
  164. bool success;
  165. int code;
  166. String msg;
  167. List<LineObj> data;
  168. StationLine({this.success, this.code, this.msg, this.data});
  169. factory StationLine.fromJson(Map<String, dynamic> json) {
  170. var list = json['data'] as List;
  171. List<LineObj> tempList = list.map((i) => LineObj.fromJson(i)).toList();
  172. return StationLine(
  173. success: json['success'],
  174. code: json['code'],
  175. msg: json['msg'],
  176. data: tempList);
  177. }
  178. }
  179. class LineObj {
  180. String code;
  181. int id;
  182. String name;
  183. LineObj({this.code, this.name, this.id});
  184. factory LineObj.fromJson(Map<String, dynamic> json) {
  185. return LineObj(code: json['code'], id: json['id'], name: json['name']);
  186. }
  187. }
  188. //修改密码
  189. class UpdataPasswrod {
  190. bool success;
  191. int code;
  192. String msg;
  193. String data;
  194. UpdataPasswrod({this.success, this.code, this.msg, this.data});
  195. factory UpdataPasswrod.fromJson(Map<String, dynamic> json) {
  196. return UpdataPasswrod(
  197. success: json['success'],
  198. code: json['code'],
  199. msg: json['msg'],
  200. data: json['data']);
  201. }
  202. }
  203. //手机号模糊匹配
  204. class LikePhone {
  205. bool success;
  206. int code;
  207. String msg;
  208. List<LikePhoneList> data;
  209. LikePhone({this.success, this.code, this.msg, this.data});
  210. factory LikePhone.fromJson(Map<String, dynamic> json) {
  211. List list = json['data'] as List;
  212. List<LikePhoneList> tempList =
  213. list.map((i) => LikePhoneList.fromJson(i)).toList();
  214. return LikePhone(
  215. success: json['success'],
  216. code: json['code'],
  217. msg: json['msg'],
  218. data: tempList);
  219. }
  220. }
  221. class LikePhoneList {
  222. String address;
  223. String areaCode;
  224. String areaName;
  225. String cityCode;
  226. String cityName;
  227. String companyCode;
  228. String companyName;
  229. String companyPhone;
  230. int id;
  231. String provinceCode;
  232. String provinceName;
  233. String uzerPhone;
  234. LikePhoneList(
  235. {this.address,
  236. this.areaCode,
  237. this.areaName,
  238. this.cityCode,
  239. this.cityName,
  240. this.companyCode,
  241. this.companyName,
  242. this.companyPhone,
  243. this.id,
  244. this.provinceCode,
  245. this.provinceName,
  246. this.uzerPhone});
  247. factory LikePhoneList.fromJson(Map<String, dynamic> json) {
  248. return LikePhoneList(
  249. address: json['address'],
  250. areaCode: json['areaCode'],
  251. areaName: json['areaName'],
  252. cityCode: json['cityCode'],
  253. cityName: json['cityName'],
  254. companyCode: json['companyCode'],
  255. companyName: json['companyName'],
  256. companyPhone: json['companyPhone'],
  257. id: json['id'],
  258. provinceCode: json['provinceCode'],
  259. provinceName: json['provinceName'],
  260. uzerPhone: json['uzerPhone']);
  261. }
  262. }
  263. //商品类别列表
  264. class GoodsCategory {
  265. bool success;
  266. int code;
  267. String msg;
  268. List<GoodCategoryList> data;
  269. GoodsCategory({this.success, this.code, this.msg, this.data});
  270. factory GoodsCategory.fromJson(Map<String, dynamic> json) {
  271. List list = json['data'] as List;
  272. List<GoodCategoryList> tempList =
  273. list.map((i) => GoodCategoryList.fromJson(i)).toList();
  274. return GoodsCategory(
  275. success: json['success'],
  276. code: json['code'],
  277. msg: json['msg'],
  278. data: tempList);
  279. }
  280. }
  281. class GoodCategoryList {
  282. int id;
  283. String name;
  284. GoodCategoryList({this.id, this.name});
  285. factory GoodCategoryList.fromJson(Map<String, dynamic> json) {
  286. return GoodCategoryList(id: json['id'], name: json['name']);
  287. }
  288. }
  289. //商品包装类别列表
  290. class GoodsPackage {
  291. bool success;
  292. int code;
  293. String msg;
  294. List<GoodsPackageList> data;
  295. GoodsPackage({this.success, this.code, this.msg, this.data});
  296. factory GoodsPackage.fromJson(Map<String, dynamic> json) {
  297. List list = json['data'] as List;
  298. List<GoodsPackageList> tempList =
  299. list.map((i) => GoodsPackageList.fromJson(i)).toList();
  300. return GoodsPackage(
  301. success: json['success'],
  302. code: json['code'],
  303. msg: json['msg'],
  304. data: tempList);
  305. }
  306. }
  307. class GoodsPackageList {
  308. int id;
  309. String name;
  310. GoodsPackageList({this.id, this.name});
  311. factory GoodsPackageList.fromJson(Map<String, dynamic> json) {
  312. return GoodsPackageList(id: json['id'], name: json['name']);
  313. }
  314. }
  315. //创建订单
  316. class CreateOrder {
  317. bool success;
  318. int code;
  319. String msg;
  320. String orderNo;
  321. CreateOrder({this.success, this.code, this.msg, this.orderNo});
  322. factory CreateOrder.fromJson(Map<String, dynamic> json) {
  323. return CreateOrder(
  324. success: json['success'],
  325. code: json['code'],
  326. msg: json['msg'],
  327. orderNo: json['data']['orderNo']);
  328. }
  329. }
  330. //订单详情
  331. class OrderDetailObj {
  332. bool success;
  333. int code;
  334. String msg;
  335. OrderDetailData data;
  336. OrderDetailObj({
  337. this.success,
  338. this.code,
  339. this.msg,
  340. this.data,
  341. });
  342. factory OrderDetailObj.fromJson(Map<String, dynamic> json) {
  343. OrderDetailData tempData = OrderDetailData.fromJson(json['data']);
  344. return OrderDetailObj(
  345. success: json['success'],
  346. code: json['code'],
  347. msg: json['msg'],
  348. data: tempData);
  349. }
  350. }
  351. class OrderDetailData {
  352. String orderNo;
  353. String goods; //商品名称
  354. int goodsAgencyFund; //代收款
  355. int goodsFlatCost; //工本费
  356. int goodsFreight; //运费
  357. int goodsInsurance; //商品保险费
  358. int goodsOtherFees; //其他费用
  359. int goodsPriceProtection; //商品保价
  360. int goodsQuantity; //商品数量
  361. int goodsValue; //商品价值
  362. double goodsWeight; //商品重量
  363. int id; //订单Id
  364. String memo; //备注
  365. int orderStatus; //订单状态 0:代收单,1:已接单,2:配送中,3:已签收,4:拒收
  366. String receiptCompanyAddress; //收件详细地址
  367. String receiptCompanyAreaCode; //收件区码
  368. String receiptCompanyAreaName; //收件区名
  369. String receiptCompanyBankCard; //收件银行卡号
  370. String receiptCompanyCityCode; //收件市码
  371. String receiptCompanyCityName; //收件市名
  372. String receiptCompanyName; //收件公司名称
  373. String receiptCompanyPhone; //收件公司电话
  374. String receiptCompanyProvinceCode; //收件省码
  375. String receiptCompanyProvinceName; //收件省名
  376. String sendCompanyAddress; //发件详细地址
  377. String sendCompanyAreaCode; //发件区码
  378. String sendCompanyAreaName; //发件区名
  379. String sendCompanyBankCard; //发件银行卡号
  380. String sendCompanyCityCode; //发件市码
  381. String sendCompanyCityName; //发件市名
  382. int sendCompanyId; //发件公司id
  383. String sendCompanyName; //发件公司名称
  384. String sendCompanyCode; //发件公司编码
  385. String sendCompanyProvinceCode; //发件公司市码
  386. String sendCompanyProvinceName; //发件公司市名
  387. String senderIdCard; //发件人身份证号
  388. String senderName; //发件人名称
  389. String senderPhone; //发件人电话
  390. OrderDetailData(
  391. {this.orderNo,
  392. this.goods,
  393. this.goodsAgencyFund,
  394. this.goodsFlatCost,
  395. this.goodsFreight,
  396. this.goodsInsurance,
  397. this.goodsOtherFees,
  398. this.goodsPriceProtection,
  399. this.goodsQuantity,
  400. this.goodsValue,
  401. this.goodsWeight,
  402. this.id,
  403. this.memo,
  404. this.orderStatus,
  405. this.receiptCompanyAddress,
  406. this.receiptCompanyAreaCode,
  407. this.receiptCompanyAreaName,
  408. this.receiptCompanyPhone,
  409. this.receiptCompanyBankCard,
  410. this.receiptCompanyCityCode,
  411. this.receiptCompanyCityName,
  412. this.receiptCompanyName,
  413. this.receiptCompanyProvinceCode,
  414. this.receiptCompanyProvinceName,
  415. this.sendCompanyAddress,
  416. this.sendCompanyAreaCode,
  417. this.sendCompanyAreaName,
  418. this.sendCompanyBankCard,
  419. this.sendCompanyCityCode,
  420. this.sendCompanyCityName,
  421. this.sendCompanyId,
  422. this.sendCompanyName,
  423. this.sendCompanyCode,
  424. this.sendCompanyProvinceCode,
  425. this.sendCompanyProvinceName,
  426. this.senderIdCard,
  427. this.senderName,
  428. this.senderPhone});
  429. factory OrderDetailData.fromJson(Map<String, dynamic> json) {
  430. return OrderDetailData(
  431. orderNo: json['orderNo'],
  432. goods: json['goods'],
  433. goodsAgencyFund: json['goodsAgencyFund'],
  434. goodsFlatCost: json['goodsFlatCost'],
  435. goodsFreight: json['goodsFreight'],
  436. goodsInsurance: json['goodsInsurance'],
  437. goodsOtherFees: json['goodsOtherFees'],
  438. goodsPriceProtection: json['goodsPriceProtection'],
  439. goodsQuantity: json['goodsQuantity'],
  440. goodsValue: json['goodsValue'],
  441. goodsWeight: json['goodsWeight'],
  442. id: json['id'],
  443. memo: json['memo'],
  444. orderStatus: json['orderStatus'],
  445. receiptCompanyAddress: json['receiptCompanyAddress'],
  446. receiptCompanyAreaCode: json['receiptCompanyAreaCode'],
  447. receiptCompanyAreaName: json['receiptCompanyAreaName'],
  448. receiptCompanyBankCard: json['receiptCompanyBankCard'],
  449. receiptCompanyCityCode: json['receiptCompanyCityCode'],
  450. receiptCompanyCityName: json['receiptCompanyCityName'],
  451. receiptCompanyName: json['receiptCompanyName'],
  452. receiptCompanyPhone: json['receiptCompanyPhone'],
  453. receiptCompanyProvinceCode: json['receiptCompanyProvinceCode'],
  454. receiptCompanyProvinceName: json['receiptCompanyProvinceName'],
  455. sendCompanyAddress: json['sendCompanyAddress'],
  456. sendCompanyAreaCode: json['sendCompanyAreaCode'],
  457. sendCompanyAreaName: json['sendCompanyAreaName'],
  458. sendCompanyBankCard: json['sendCompanyBankCard'],
  459. sendCompanyCityCode: json['sendCompanyCityCode'],
  460. sendCompanyCityName: json['sendCompanyCityName'],
  461. sendCompanyId: json['sendCompanyId'],
  462. sendCompanyName: json['sendCompanyName'],
  463. sendCompanyCode: json['sendCompanyCode'],
  464. sendCompanyProvinceCode: json['sendCompanyProvinceCode'],
  465. sendCompanyProvinceName: json['sendCompanyProvinceName'],
  466. senderIdCard: json['senderIdCard'],
  467. senderName: json['senderName'],
  468. senderPhone: json['senderPhone']);
  469. }
  470. }
  471. //接单对象
  472. class OrderReception {
  473. bool success;
  474. int code;
  475. String msg;
  476. OrderReception({
  477. this.success,
  478. this.code,
  479. this.msg,
  480. });
  481. factory OrderReception.fromJson(Map<String, dynamic> json) {
  482. return OrderReception(
  483. success: json['success'],
  484. code: json['code'],
  485. msg: json['msg'],
  486. );
  487. }
  488. }
  489. //订单管理获取列表
  490. class FromStatusGetOrderObj {
  491. bool success;
  492. int code;
  493. String msg;
  494. FromStatusGetOrderData data;
  495. FromStatusGetOrderObj({this.success, this.code, this.msg, this.data});
  496. factory FromStatusGetOrderObj.fromJson(Map<String, dynamic> json) {
  497. return FromStatusGetOrderObj(
  498. success: json['success'],
  499. code: json['code'],
  500. msg: json['msg'],
  501. data: FromStatusGetOrderData.fromJson(json['data']));
  502. }
  503. }
  504. class FromStatusGetOrderData {
  505. bool hasNextPage;
  506. List<FromStatusGetOrderList> items;
  507. int limit;
  508. int page;
  509. int totalCount;
  510. int totalPage;
  511. FromStatusGetOrderData({
  512. this.hasNextPage,
  513. this.items,
  514. this.limit,
  515. this.page,
  516. this.totalCount,
  517. this.totalPage,
  518. });
  519. factory FromStatusGetOrderData.fromJson(Map<String, dynamic> json) {
  520. List list = json['items'] as List;
  521. List<FromStatusGetOrderList> tempList =
  522. list.map((i) => FromStatusGetOrderList.fromJson(i)).toList();
  523. return FromStatusGetOrderData(
  524. hasNextPage: json['hasNextPage'],
  525. items: tempList,
  526. limit: json['limit'],
  527. page: json['page'],
  528. totalCount: json['totalCount'],
  529. totalPage: json['totalPage'],
  530. );
  531. }
  532. }
  533. class FromStatusGetOrderList {
  534. int goodsAgencyFund;
  535. int goodsFreight;
  536. int goodsQuantity;
  537. int orderStatus;
  538. String orderNo;
  539. String goods;
  540. String receiptCompanyName;
  541. String sendCompanyName;
  542. FromStatusGetOrderList({
  543. this.goodsAgencyFund,
  544. this.goodsFreight,
  545. this.goodsQuantity,
  546. this.orderStatus,
  547. this.orderNo,
  548. this.goods,
  549. this.receiptCompanyName,
  550. this.sendCompanyName,
  551. });
  552. factory FromStatusGetOrderList.fromJson(Map<String, dynamic> json) {
  553. return FromStatusGetOrderList(
  554. goodsAgencyFund: json['goodsAgencyFund'],
  555. goodsFreight: json['goodsFreight'],
  556. goodsQuantity: json['goodsQuantity'],
  557. orderStatus: json['orderStatus'],
  558. orderNo: json['orderNo'],
  559. goods: json['goods'],
  560. receiptCompanyName: json['receiptCompanyName'],
  561. sendCompanyName: json['sendCompanyName'],
  562. );
  563. }
  564. }
  565. //提交改单、作废、寄件、拒收、签收后返回对象
  566. class OrderStatusReturnObj {
  567. bool success;
  568. int code;
  569. String msg;
  570. OrderStatusReturnObj({this.success, this.code, this.msg});
  571. factory OrderStatusReturnObj.fromJson(Map<String, dynamic> json) {
  572. return OrderStatusReturnObj(
  573. success: json['success'],
  574. code: json['code'],
  575. msg: json['msg'],
  576. );
  577. }
  578. }
  579. //模糊匹配订单号返回对象
  580. class LikeOrderNo {
  581. bool success;
  582. int code;
  583. String msg;
  584. List data;
  585. LikeOrderNo({
  586. this.success,
  587. this.code,
  588. this.msg,
  589. this.data,
  590. });
  591. factory LikeOrderNo.fromJson(Map<String, dynamic> json) {
  592. return LikeOrderNo(
  593. success: json['success'],
  594. code: json['code'],
  595. msg: json['msg'],
  596. data: json['data'],
  597. );
  598. }
  599. }
  600. //验证token是否过期返回对象
  601. class CheckToken {
  602. bool success;
  603. int code;
  604. String msg;
  605. String data;
  606. CheckToken({
  607. this.success,
  608. this.code,
  609. this.msg,
  610. this.data,
  611. });
  612. factory CheckToken.fromJson(Map<String, dynamic> json) {
  613. return CheckToken(
  614. success: json['success'],
  615. code: json['code'],
  616. msg: json['msg'],
  617. data: json['data'],
  618. );
  619. }
  620. }
  621. //蓝牙信息缓存对象
  622. class BtInfoList {
  623. List<BtInfoObj> btList;
  624. BtInfoList({this.btList});
  625. factory BtInfoList.fromJson(List json) {
  626. List tempList = json.map((i) => BtInfoObj.fromJson(i)).toList();
  627. return BtInfoList(btList: tempList);
  628. }
  629. }
  630. class BtInfoObj {
  631. String name;
  632. bool showLoadStauts;
  633. bool connectStatus;
  634. BtInfoObj({this.name, this.showLoadStauts, this.connectStatus});
  635. factory BtInfoObj.fromJson(Map<String, dynamic> json) {
  636. return BtInfoObj(
  637. name: json['name'],
  638. showLoadStauts: json['showLoadStauts'],
  639. connectStatus: json['connectStatus'],
  640. );
  641. }
  642. }
  643. //根据公司id获取线路
  644. class CompanyOfLine {
  645. bool success;
  646. int code;
  647. String msg;
  648. List<CompanyOfLineList> data;
  649. CompanyOfLine({
  650. this.success,
  651. this.code,
  652. this.msg,
  653. this.data
  654. });
  655. factory CompanyOfLine.fromJson(Map<String,dynamic> json){
  656. var list = json['data'] as List;
  657. List tempList = list.map((i) => CompanyOfLineList.fromJson(i)).toList();
  658. return CompanyOfLine(
  659. success:json['success'],
  660. code:json['code'],
  661. msg:json['msg'],
  662. data:tempList,
  663. );
  664. }
  665. }
  666. class CompanyOfLineList {
  667. int lineId;
  668. String lineName;
  669. int uzerCompanyId;
  670. bool checkedStatus = false;
  671. CompanyOfLineList({
  672. this.lineId,
  673. this.lineName,
  674. this.uzerCompanyId,
  675. });
  676. factory CompanyOfLineList.fromJson(Map<String, dynamic> json) {
  677. return CompanyOfLineList(
  678. lineId:json['lineId'],
  679. lineName:json['lineName'],
  680. uzerCompanyId:json['uzerCompanyId'],
  681. );
  682. }
  683. }