user_profile.dart 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271
  1. class UserProfile {
  2. final num? memberCountryCode;
  3. final num? completeJobQuantity;
  4. final String? employementStatus;
  5. final num? memberPoint;
  6. final String? infoBankStatement;
  7. final String? infoTrainingRecord;
  8. final String? infoLanguage;
  9. final num? memberRecruiterId;
  10. final String? infoEmergencyAddress;
  11. final String? infoMedication;
  12. final num? currentMonthWorkMinutes;
  13. final String? salary;
  14. final num? memberUpdateTime;
  15. final num? isTraining;
  16. final num? rewardPointLevel;
  17. final String? earned;
  18. final String? infoSignature;
  19. final String? socialGoogleId;
  20. final String? infoNationality;
  21. final num? rewardPoint;
  22. final String? memberRemark;
  23. final num? memberInfoAgreement;
  24. final num? issueAlert;
  25. final num? hotelEmployeeId;
  26. final String? memberNric;
  27. final num? infoSchoolExpiryDate;
  28. final String? infoEmergencyPhone;
  29. final String? infoNricFan;
  30. final num? memberSalaryRate;
  31. final String? memberEmail;
  32. final String? socialAppleId;
  33. final String? rejectReason;
  34. final String? infoBankStatementImg;
  35. final String? infoBankName;
  36. final num? memberPlatform;
  37. final num? synchronousStatus;
  38. final String? memberPassword;
  39. final String? nickName;
  40. final String? frozenSalary;
  41. final num? infoId;
  42. final num? memberApproveTime;
  43. final String? deposit;
  44. final String? memberMobile;
  45. final String? turnUpRate;
  46. final String? offerLetterFromSchool;
  47. final String? updatedOperator;
  48. final num? memberCredit;
  49. final num? tagType;
  50. final num? pending;
  51. final String? infoEmergencyName;
  52. final num? memberBirthday;
  53. final String? infoIndustry;
  54. final num? memberAddTime;
  55. final String? nricUpdatetime;
  56. final num? memberSex;
  57. final String? infoNricZheng;
  58. final num? memberStatus;
  59. final String? memberAvatar;
  60. final String? infoAddress;
  61. final num? infoIsUploaded;
  62. final num? urgent;
  63. final String? visitorKey;
  64. final String? introduction;
  65. final num? consentNewAgreement;
  66. final num? memberId;
  67. final String? memberCpf;
  68. final String? socialAccessToken;
  69. final String? infoCriminalRecord;
  70. final num? completetotal;
  71. final num? memberSchoolId;
  72. final String? memberInviteCode;
  73. final num? infoBankId;
  74. final String? socialFbId;
  75. final String? nricAddtime;
  76. final String? memberPaymentPassword;
  77. final String? memberAdhocJobAvatar;
  78. final String? yypay;
  79. final String? memberName;
  80. final String? infoContactMethod;
  81. final String? infoReligion;
  82. final String? infoEmergencyRelationship;
  83. final num? continuousDays;
  84. final num? memberEmployerId;
  85. final String? newsFeedAvatar;
  86. final num? toIm;
  87. final String? frozenYypay;
  88. UserProfile(
  89. {this.memberCountryCode, this.completeJobQuantity, this.employementStatus, this.memberPoint, this.infoBankStatement, this.infoTrainingRecord, this.infoLanguage, this.memberRecruiterId, this.infoEmergencyAddress, this.infoMedication, this.currentMonthWorkMinutes, this.salary, this.memberUpdateTime, this.isTraining, this.rewardPointLevel, this.earned, this.infoSignature, this.socialGoogleId, this.infoNationality, this.rewardPoint, this.memberRemark, this.memberInfoAgreement, this.issueAlert, this.hotelEmployeeId, this.memberNric, this.infoSchoolExpiryDate, this.infoEmergencyPhone, this.infoNricFan, this.memberSalaryRate, this.memberEmail, this.socialAppleId, this.rejectReason, this.infoBankStatementImg, this.infoBankName, this.memberPlatform, this.synchronousStatus, this.memberPassword, this.nickName, this.frozenSalary, this.infoId, this.memberApproveTime, this.deposit, this.memberMobile, this.turnUpRate, this.offerLetterFromSchool, this.updatedOperator, this.memberCredit, this.tagType, this.pending, this.infoEmergencyName, this.memberBirthday, this.infoIndustry, this.memberAddTime, this.nricUpdatetime, this.memberSex, this.infoNricZheng, this.memberStatus, this.memberAvatar, this.infoAddress, this.infoIsUploaded, this.urgent, this.visitorKey, this.introduction, this.consentNewAgreement, this.memberId, this.memberCpf, this.socialAccessToken, this.infoCriminalRecord, this.completetotal, this.memberSchoolId, this.memberInviteCode, this.infoBankId, this.socialFbId, this.nricAddtime, this.memberPaymentPassword, this.memberAdhocJobAvatar, this.yypay, this.memberName, this.infoContactMethod, this.infoReligion, this.infoEmergencyRelationship, this.continuousDays, this.memberEmployerId, this.newsFeedAvatar, this.toIm, this.frozenYypay,});
  90. factory UserProfile.fromJson(Map<String, dynamic> json) {
  91. return UserProfile(memberCountryCode: json['member_country_code'],
  92. completeJobQuantity: json['complete_job_quantity'],
  93. employementStatus: json['employement_status'],
  94. memberPoint: json['member_point'],
  95. infoBankStatement: json['info_bank_statement'],
  96. infoTrainingRecord: json['info_training_record'],
  97. infoLanguage: json['info_language'],
  98. memberRecruiterId: json['member_recruiter_id'],
  99. infoEmergencyAddress: json['info_emergency_address'],
  100. infoMedication: json['info_medication'],
  101. currentMonthWorkMinutes: json['current_month_work_minutes'],
  102. salary: json['salary'],
  103. memberUpdateTime: json['member_update_time'],
  104. isTraining: json['is_training'],
  105. rewardPointLevel: json['reward_point_level'],
  106. earned: json['earned'],
  107. infoSignature: json['info_signature'],
  108. socialGoogleId: json['social_google_id'],
  109. infoNationality: json['info_nationality'],
  110. rewardPoint: json['reward_point'],
  111. memberRemark: json['member_remark'],
  112. memberInfoAgreement: json['member_info_agreement'],
  113. issueAlert: json['issue_alert'],
  114. hotelEmployeeId: json['hotel_employee_id'],
  115. memberNric: json['member_nric'],
  116. infoSchoolExpiryDate: json['info_school_expiry_date'],
  117. infoEmergencyPhone: json['info_emergency_phone'],
  118. infoNricFan: json['info_nric_fan'],
  119. memberSalaryRate: json['member_salary_rate'],
  120. memberEmail: json['member_email'],
  121. socialAppleId: json['social_apple_id'],
  122. rejectReason: json['reject_reason'],
  123. infoBankStatementImg: json['info_bank_statement_img'],
  124. infoBankName: json['info_bank_name'],
  125. memberPlatform: json['member_platform'],
  126. synchronousStatus: json['synchronous_status'],
  127. memberPassword: json['member_password'],
  128. nickName: json['nick_name'],
  129. frozenSalary: json['frozen_salary'],
  130. infoId: json['info_id'],
  131. memberApproveTime: json['member_approve_time'],
  132. deposit: json['deposit'],
  133. memberMobile: json['member_mobile'],
  134. turnUpRate: json['turn_up_rate'],
  135. offerLetterFromSchool: json['offer_letter_from_school'],
  136. updatedOperator: json['updated_operator'],
  137. memberCredit: json['member_credit'],
  138. tagType: json['tag_type'],
  139. pending: json['pending'],
  140. infoEmergencyName: json['info_emergency_name'],
  141. memberBirthday: json['member_birthday'],
  142. infoIndustry: json['info_industry'],
  143. memberAddTime: json['member_add_time'],
  144. nricUpdatetime: json['nric_updatetime'],
  145. memberSex: json['member_sex'],
  146. infoNricZheng: json['info_nric_zheng'],
  147. memberStatus: json['member_status'],
  148. memberAvatar: json['member_avatar'],
  149. infoAddress: json['info_address'],
  150. infoIsUploaded: json['info_is_uploaded'],
  151. urgent: json['urgent'],
  152. visitorKey: json['visitor_key'],
  153. introduction: json['introduction'],
  154. consentNewAgreement: json['consent_new_agreement'],
  155. memberId: json['member_id'],
  156. memberCpf: json['member_cpf'],
  157. socialAccessToken: json['social_access_token'],
  158. infoCriminalRecord: json['info_criminal_record'],
  159. completetotal: json['completeTotal'],
  160. memberSchoolId: json['member_school_id'],
  161. memberInviteCode: json['member_invite_code'],
  162. infoBankId: json['info_bank_id'],
  163. socialFbId: json['social_fb_id'],
  164. nricAddtime: json['nric_addtime'],
  165. memberPaymentPassword: json['member_payment_password'],
  166. memberAdhocJobAvatar: json['member_adhoc_job_avatar'],
  167. yypay: json['yypay'],
  168. memberName: json['member_name'],
  169. infoContactMethod: json['info_contact_method'],
  170. infoReligion: json['info_religion'],
  171. infoEmergencyRelationship: json['info_emergency_relationship'],
  172. continuousDays: json['continuous_days'],
  173. memberEmployerId: json['member_employer_id'],
  174. newsFeedAvatar: json['news_feed_avatar'],
  175. toIm: json['to_im'],
  176. frozenYypay: json['frozen_yypay'],);
  177. }
  178. Map<String, dynamic> toJson() =>
  179. {
  180. 'memberCountryCode': memberCountryCode,
  181. 'completeJobQuantity': completeJobQuantity,
  182. 'employementStatus': employementStatus,
  183. 'memberPoint': memberPoint,
  184. 'infoBankStatement': infoBankStatement,
  185. 'infoTrainingRecord': infoTrainingRecord,
  186. 'infoLanguage': infoLanguage,
  187. 'memberRecruiterId': memberRecruiterId,
  188. 'infoEmergencyAddress': infoEmergencyAddress,
  189. 'infoMedication': infoMedication,
  190. 'currentMonthWorkMinutes': currentMonthWorkMinutes,
  191. 'salary': salary,
  192. 'memberUpdateTime': memberUpdateTime,
  193. 'isTraining': isTraining,
  194. 'rewardPointLevel': rewardPointLevel,
  195. 'earned': earned,
  196. 'infoSignature': infoSignature,
  197. 'socialGoogleId': socialGoogleId,
  198. 'infoNationality': infoNationality,
  199. 'rewardPoint': rewardPoint,
  200. 'memberRemark': memberRemark,
  201. 'memberInfoAgreement': memberInfoAgreement,
  202. 'issueAlert': issueAlert,
  203. 'hotelEmployeeId': hotelEmployeeId,
  204. 'memberNric': memberNric,
  205. 'infoSchoolExpiryDate': infoSchoolExpiryDate,
  206. 'infoEmergencyPhone': infoEmergencyPhone,
  207. 'infoNricFan': infoNricFan,
  208. 'memberSalaryRate': memberSalaryRate,
  209. 'memberEmail': memberEmail,
  210. 'socialAppleId': socialAppleId,
  211. 'rejectReason': rejectReason,
  212. 'infoBankStatementImg': infoBankStatementImg,
  213. 'infoBankName': infoBankName,
  214. 'memberPlatform': memberPlatform,
  215. 'synchronousStatus': synchronousStatus,
  216. 'memberPassword': memberPassword,
  217. 'nickName': nickName,
  218. 'frozenSalary': frozenSalary,
  219. 'infoId': infoId,
  220. 'memberApproveTime': memberApproveTime,
  221. 'deposit': deposit,
  222. 'memberMobile': memberMobile,
  223. 'turnUpRate': turnUpRate,
  224. 'offerLetterFromSchool': offerLetterFromSchool,
  225. 'updatedOperator': updatedOperator,
  226. 'memberCredit': memberCredit,
  227. 'tagType': tagType,
  228. 'pending': pending,
  229. 'infoEmergencyName': infoEmergencyName,
  230. 'memberBirthday': memberBirthday,
  231. 'infoIndustry': infoIndustry,
  232. 'memberAddTime': memberAddTime,
  233. 'nricUpdatetime': nricUpdatetime,
  234. 'memberSex': memberSex,
  235. 'infoNricZheng': infoNricZheng,
  236. 'memberStatus': memberStatus,
  237. 'memberAvatar': memberAvatar,
  238. 'infoAddress': infoAddress,
  239. 'infoIsUploaded': infoIsUploaded,
  240. 'urgent': urgent,
  241. 'visitorKey': visitorKey,
  242. 'introduction': introduction,
  243. 'consentNewAgreement': consentNewAgreement,
  244. 'memberId': memberId,
  245. 'memberCpf': memberCpf,
  246. 'socialAccessToken': socialAccessToken,
  247. 'infoCriminalRecord': infoCriminalRecord,
  248. 'completetotal': completetotal,
  249. 'memberSchoolId': memberSchoolId,
  250. 'memberInviteCode': memberInviteCode,
  251. 'infoBankId': infoBankId,
  252. 'socialFbId': socialFbId,
  253. 'nricAddtime': nricAddtime,
  254. 'memberPaymentPassword': memberPaymentPassword,
  255. 'memberAdhocJobAvatar': memberAdhocJobAvatar,
  256. 'yypay': yypay,
  257. 'memberName': memberName,
  258. 'infoContactMethod': infoContactMethod,
  259. 'infoReligion': infoReligion,
  260. 'infoEmergencyRelationship': infoEmergencyRelationship,
  261. 'continuousDays': continuousDays,
  262. 'memberEmployerId': memberEmployerId,
  263. 'newsFeedAvatar': newsFeedAvatar,
  264. 'toIm': toIm,
  265. 'frozenYypay': frozenYypay,
  266. };
  267. }