user_rsp.g.dart 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. // GENERATED CODE - DO NOT MODIFY BY HAND
  2. part of 'user_rsp.dart';
  3. // **************************************************************************
  4. // JsonSerializableGenerator
  5. // **************************************************************************
  6. UserRsp _$UserRspFromJson(Map<String, dynamic> json) => UserRsp(
  7. id: const NumConverter().fromJson(json['id']),
  8. username: const StringConverter().fromJson(json['username']),
  9. nickname: const StringConverter().fromJson(json['nickname']),
  10. email: const StringConverter().fromJson(json['email']),
  11. mobile: const StringConverter().fromJson(json['mobile']),
  12. sex: const NumConverter().fromJson(json['sex']),
  13. avatar: const StringConverter().fromJson(json['avatar']),
  14. loginIp: const StringConverter().fromJson(json['loginIp']),
  15. loginDate: const NumConverter().fromJson(json['loginDate']),
  16. createTime: const NumConverter().fromJson(json['createTime']),
  17. roles: (json['roles'] as List<dynamic>?)
  18. ?.map((e) => EnumRsp.fromJson(e as Map<String, dynamic>))
  19. .toList(),
  20. dept: json['dept'] == null
  21. ? null
  22. : DepartmentRsp.fromJson(json['dept'] as Map<String, dynamic>),
  23. posts: (json['posts'] as List<dynamic>?)
  24. ?.map((e) => EnumRsp.fromJson(e as Map<String, dynamic>))
  25. .toList(),
  26. );
  27. Map<String, dynamic> _$UserRspToJson(UserRsp instance) => <String, dynamic>{
  28. 'id': const NumConverter().toJson(instance.id),
  29. 'username': const StringConverter().toJson(instance.username),
  30. 'nickname': const StringConverter().toJson(instance.nickname),
  31. 'email': const StringConverter().toJson(instance.email),
  32. 'mobile': const StringConverter().toJson(instance.mobile),
  33. 'sex': const NumConverter().toJson(instance.sex),
  34. 'avatar': const StringConverter().toJson(instance.avatar),
  35. 'loginIp': const StringConverter().toJson(instance.loginIp),
  36. 'loginDate': const NumConverter().toJson(instance.loginDate),
  37. 'createTime': const NumConverter().toJson(instance.createTime),
  38. 'roles': instance.roles,
  39. 'dept': instance.dept,
  40. 'posts': instance.posts,
  41. };
  42. DepartmentRsp _$DepartmentRspFromJson(Map<String, dynamic> json) =>
  43. DepartmentRsp(
  44. id: const NumConverter().fromJson(json['id']),
  45. name: const StringConverter().fromJson(json['name']),
  46. parentId: const NumConverter().fromJson(json['parentId']),
  47. );
  48. Map<String, dynamic> _$DepartmentRspToJson(DepartmentRsp instance) =>
  49. <String, dynamic>{
  50. 'id': const NumConverter().toJson(instance.id),
  51. 'name': const StringConverter().toJson(instance.name),
  52. 'parentId': const NumConverter().toJson(instance.parentId),
  53. };
  54. EnumRsp _$EnumRspFromJson(Map<String, dynamic> json) => EnumRsp(
  55. id: const NumConverter().fromJson(json['id']),
  56. name: const StringConverter().fromJson(json['name']),
  57. );
  58. Map<String, dynamic> _$EnumRspToJson(EnumRsp instance) => <String, dynamic>{
  59. 'id': const NumConverter().toJson(instance.id),
  60. 'name': const StringConverter().toJson(instance.name),
  61. };
  62. PersonRsp _$PersonRspFromJson(Map<String, dynamic> json) => PersonRsp(
  63. id: const NumConverter().fromJson(json['id']),
  64. csny: const StringConverter().fromJson(json['csny']),
  65. age: const NumConverter().fromJson(json['age']),
  66. hdry: const StringConverter().fromJson(json['hdry']),
  67. minzu: const NumConverter().fromJson(json['minzu']),
  68. name: const StringConverter().fromJson(json['name']),
  69. qthcykyxm: const StringConverter().fromJson(json['qthcykyxm']),
  70. qybm: const StringConverter().fromJson(json['qybm']),
  71. role: const NumConverter().fromJson(json['role']),
  72. sfcsxzgl: const NumConverter().fromJson(json['sfcsxzgl']),
  73. sfzb: const NumConverter().fromJson(json['sfzb']),
  74. xueli: const NumConverter().fromJson(json['xueli']),
  75. zhanghao: const StringConverter().fromJson(json['zhanghao']),
  76. zhicheng: const NumConverter().fromJson(json['zhicheng']),
  77. zhiwu: const StringConverter().fromJson(json['zhiwu']),
  78. zhuanye: const StringConverter().fromJson(json['zhuanye']),
  79. zzmm: const NumConverter().fromJson(json['zzmm']),
  80. zzxl: const StringConverter().fromJson(json['zzxl']),
  81. zzzy: const StringConverter().fromJson(json['zzzy']),
  82. zjBaseEnterpriseId:
  83. const NumConverter().fromJson(json['zjBaseEnterpriseId']),
  84. enterpriseName: const StringConverter().fromJson(json['enterpriseName']),
  85. sex: const NumConverter().fromJson(json['sex']),
  86. userId: const NumConverter().fromJson(json['userId']),
  87. createTime: const StringConverter().fromJson(json['createTime']),
  88. jlqk: const StringConverter().fromJson(json['jlqk']),
  89. userPictureUrl: const StringConverter().fromJson(json['userPictureUrl']),
  90. userName: const StringConverter().fromJson(json['userName']),
  91. flowStatus: const NumConverter().fromJson(json['flowStatus']),
  92. );
  93. Map<String, dynamic> _$PersonRspToJson(PersonRsp instance) => <String, dynamic>{
  94. 'id': const NumConverter().toJson(instance.id),
  95. 'csny': const StringConverter().toJson(instance.csny),
  96. 'age': const NumConverter().toJson(instance.age),
  97. 'hdry': const StringConverter().toJson(instance.hdry),
  98. 'minzu': const NumConverter().toJson(instance.minzu),
  99. 'name': const StringConverter().toJson(instance.name),
  100. 'qthcykyxm': const StringConverter().toJson(instance.qthcykyxm),
  101. 'qybm': const StringConverter().toJson(instance.qybm),
  102. 'role': const NumConverter().toJson(instance.role),
  103. 'sfcsxzgl': const NumConverter().toJson(instance.sfcsxzgl),
  104. 'sfzb': const NumConverter().toJson(instance.sfzb),
  105. 'xueli': const NumConverter().toJson(instance.xueli),
  106. 'zhanghao': const StringConverter().toJson(instance.zhanghao),
  107. 'zhicheng': const NumConverter().toJson(instance.zhicheng),
  108. 'zhiwu': const StringConverter().toJson(instance.zhiwu),
  109. 'zhuanye': const StringConverter().toJson(instance.zhuanye),
  110. 'zzmm': const NumConverter().toJson(instance.zzmm),
  111. 'zzxl': const StringConverter().toJson(instance.zzxl),
  112. 'zzzy': const StringConverter().toJson(instance.zzzy),
  113. 'zjBaseEnterpriseId':
  114. const NumConverter().toJson(instance.zjBaseEnterpriseId),
  115. 'enterpriseName': const StringConverter().toJson(instance.enterpriseName),
  116. 'sex': const NumConverter().toJson(instance.sex),
  117. 'userId': const NumConverter().toJson(instance.userId),
  118. 'createTime': const StringConverter().toJson(instance.createTime),
  119. 'jlqk': const StringConverter().toJson(instance.jlqk),
  120. 'userPictureUrl': const StringConverter().toJson(instance.userPictureUrl),
  121. 'userName': const StringConverter().toJson(instance.userName),
  122. 'flowStatus': const NumConverter().toJson(instance.flowStatus),
  123. };