become_model.dart 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. class BecomeModel {
  2. int id;
  3. int createTime;
  4. String createBy;
  5. int updateTime;
  6. String updateBy;
  7. String userId;
  8. String name;
  9. int gender;
  10. int age;
  11. String idNumber;
  12. String mobile;
  13. int eduLevel;
  14. String professional;
  15. int workDate;
  16. int companyId;
  17. String company;
  18. String job;
  19. String residentPlace;
  20. String workExperience;
  21. String projectExperience;
  22. String proficiencyBrand;
  23. String proficiencyBrandName;
  24. String goodElectrical;
  25. String goodMechanical;
  26. String cardPicture;
  27. String degreeCertificate;
  28. String skillsCertificate;
  29. String otherCertificates;
  30. String photo;
  31. int checkFlag;
  32. double serviceFee;
  33. BecomeModel(
  34. {this.id,
  35. this.createTime,
  36. this.createBy,
  37. this.updateTime,
  38. this.updateBy,
  39. this.userId,
  40. this.photo,
  41. this.name,
  42. this.gender,
  43. this.age,
  44. this.idNumber,
  45. this.mobile,
  46. this.eduLevel,
  47. this.professional,
  48. this.workDate,
  49. this.companyId,
  50. this.company,
  51. this.job,
  52. this.residentPlace,
  53. this.workExperience,
  54. this.projectExperience,
  55. this.proficiencyBrand,
  56. this.proficiencyBrandName,
  57. this.goodElectrical,
  58. this.goodMechanical,
  59. this.cardPicture,
  60. this.degreeCertificate,
  61. this.skillsCertificate,
  62. this.otherCertificates,
  63. this.checkFlag,
  64. this.serviceFee});
  65. BecomeModel.fromJson(Map<String, dynamic> json) {
  66. id = json['id'];
  67. photo = json['photo'];
  68. createTime = json['createTime'];
  69. createBy = json['createBy'];
  70. updateTime = json['updateTime'];
  71. updateBy = json['updateBy'];
  72. userId = json['userId'];
  73. name = json['name'];
  74. gender = json['gender'];
  75. age = json['age'];
  76. idNumber = json['idNumber'];
  77. mobile = json['mobile'];
  78. eduLevel = json['eduLevel'];
  79. professional = json['professional'];
  80. workDate = json['workDate'];
  81. companyId = json['companyId'];
  82. company = json['company'];
  83. job = json['job'];
  84. residentPlace = json['residentPlace'];
  85. workExperience = json['workExperience'];
  86. projectExperience = json['projectExperience'];
  87. proficiencyBrand = json['proficiencyBrand'];
  88. proficiencyBrandName = json['proficiencyBrandName'];
  89. goodElectrical = json['goodElectrical'];
  90. goodMechanical = json['goodMechanical'];
  91. cardPicture = json['cardPicture'];
  92. degreeCertificate = json['degreeCertificate'];
  93. skillsCertificate = json['skillsCertificate'];
  94. otherCertificates = json['otherCertificates'];
  95. checkFlag = json['checkFlag'];
  96. serviceFee = json['serviceFee'];
  97. }
  98. Map<String, dynamic> toJson() {
  99. final Map<String, dynamic> data = new Map<String, dynamic>();
  100. data['id'] = this.id;
  101. data['photo'] = this.photo;
  102. data['createTime'] = this.createTime;
  103. data['createBy'] = this.createBy;
  104. data['updateTime'] = this.updateTime;
  105. data['updateBy'] = this.updateBy;
  106. data['userId'] = this.userId;
  107. data['name'] = this.name;
  108. data['gender'] = this.gender;
  109. data['age'] = this.age;
  110. data['idNumber'] = this.idNumber;
  111. data['mobile'] = this.mobile;
  112. data['eduLevel'] = this.eduLevel;
  113. data['professional'] = this.professional;
  114. data['workDate'] = this.workDate;
  115. data['companyId'] = this.companyId;
  116. data['company'] = this.company;
  117. data['job'] = this.job;
  118. data['residentPlace'] = this.residentPlace;
  119. data['workExperience'] = this.workExperience;
  120. data['projectExperience'] = this.projectExperience;
  121. data['proficiencyBrand'] = this.proficiencyBrand;
  122. data['proficiencyBrandName'] = this.proficiencyBrandName;
  123. data['goodElectrical'] = this.goodElectrical;
  124. data['goodMechanical'] = this.goodMechanical;
  125. data['cardPicture'] = this.cardPicture;
  126. data['degreeCertificate'] = this.degreeCertificate;
  127. data['skillsCertificate'] = this.skillsCertificate;
  128. data['otherCertificates'] = this.otherCertificates;
  129. data['checkFlag'] = this.checkFlag;
  130. data['serviceFee'] = this.serviceFee;
  131. return data;
  132. }
  133. }