team_auth_item.dart 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. class TeamAuthItem {
  2. String id;
  3. String mtCompanyId;
  4. String attestationName;
  5. String contactsName;
  6. String contactsTel;
  7. int isCertificated;//认证状态 0 未认证 1 已认证 2 审核中 3 认证失败
  8. Object checkFeedBack;
  9. String businessLicenseAnnex;
  10. String taxRegistration;
  11. Object provinceCode;
  12. String createTime;
  13. String createUser;
  14. String dealTime;
  15. String logoImg;
  16. int sourceType;
  17. String remarks;
  18. String customerManagerId;
  19. TeamAuthItem(
  20. {this.id,
  21. this.mtCompanyId,
  22. this.attestationName="",
  23. this.contactsName="",
  24. this.contactsTel="",
  25. this.isCertificated=0,
  26. this.checkFeedBack,
  27. this.businessLicenseAnnex="",
  28. this.taxRegistration="",
  29. this.provinceCode,
  30. this.createTime,
  31. this.createUser,
  32. this.dealTime,
  33. this.logoImg = "",
  34. this.sourceType,
  35. this.remarks,
  36. this.customerManagerId});
  37. TeamAuthItem.fromJsonMap(Map<String, dynamic> map):
  38. id = map["id"],
  39. mtCompanyId = map["mtCompanyId"],
  40. attestationName = map["attestationName"]??'',
  41. contactsName = map["contactsName"]??'',
  42. contactsTel = map["contactsTel"]??'',
  43. isCertificated = map["isCertificated"],
  44. checkFeedBack = map["checkFeedBack"],
  45. businessLicenseAnnex = map["businessLicenseAnnex"],
  46. taxRegistration = map["taxRegistration"],
  47. provinceCode = map["provinceCode"],
  48. createTime = map["createTime"],
  49. createUser = map["createUser"],
  50. dealTime = map["dealTime"],
  51. logoImg = map["logoImg"],
  52. sourceType = map["sourceType"],
  53. remarks = map["remarks"],
  54. customerManagerId = map["customerManagerId"];
  55. Map<String, dynamic> toJson() {
  56. final Map<String, dynamic> data = new Map<String, dynamic>();
  57. data['id'] = id;
  58. data['mtCompanyId'] = mtCompanyId;
  59. data['attestationName'] = attestationName;
  60. data['contactsName'] = contactsName;
  61. data['contactsTel'] = contactsTel;
  62. data['isCertificated'] = isCertificated;
  63. data['checkFeedBack'] = checkFeedBack;
  64. data['businessLicenseAnnex'] = businessLicenseAnnex;
  65. data['taxRegistration'] = taxRegistration;
  66. data['provinceCode'] = provinceCode;
  67. data['createTime'] = createTime;
  68. data['createUser'] = createUser;
  69. data['dealTime'] = dealTime;
  70. data['logoImg'] = logoImg;
  71. data['sourceType'] = sourceType;
  72. data['remarks'] = remarks;
  73. data['customerManagerId'] = customerManagerId;
  74. return data;
  75. }
  76. }