123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134 |
- // GENERATED CODE - DO NOT MODIFY BY HAND
- part of 'user_rsp.dart';
- // **************************************************************************
- // JsonSerializableGenerator
- // **************************************************************************
- UserRsp _$UserRspFromJson(Map<String, dynamic> json) => UserRsp(
- id: const NumConverter().fromJson(json['id']),
- username: const StringConverter().fromJson(json['username']),
- nickname: const StringConverter().fromJson(json['nickname']),
- email: const StringConverter().fromJson(json['email']),
- mobile: const StringConverter().fromJson(json['mobile']),
- sex: const NumConverter().fromJson(json['sex']),
- avatar: const StringConverter().fromJson(json['avatar']),
- loginIp: const StringConverter().fromJson(json['loginIp']),
- loginDate: const NumConverter().fromJson(json['loginDate']),
- createTime: const NumConverter().fromJson(json['createTime']),
- roles: (json['roles'] as List<dynamic>?)
- ?.map((e) => EnumRsp.fromJson(e as Map<String, dynamic>))
- .toList(),
- dept: json['dept'] == null
- ? null
- : DepartmentRsp.fromJson(json['dept'] as Map<String, dynamic>),
- posts: (json['posts'] as List<dynamic>?)
- ?.map((e) => EnumRsp.fromJson(e as Map<String, dynamic>))
- .toList(),
- );
- Map<String, dynamic> _$UserRspToJson(UserRsp instance) => <String, dynamic>{
- 'id': const NumConverter().toJson(instance.id),
- 'username': const StringConverter().toJson(instance.username),
- 'nickname': const StringConverter().toJson(instance.nickname),
- 'email': const StringConverter().toJson(instance.email),
- 'mobile': const StringConverter().toJson(instance.mobile),
- 'sex': const NumConverter().toJson(instance.sex),
- 'avatar': const StringConverter().toJson(instance.avatar),
- 'loginIp': const StringConverter().toJson(instance.loginIp),
- 'loginDate': const NumConverter().toJson(instance.loginDate),
- 'createTime': const NumConverter().toJson(instance.createTime),
- 'roles': instance.roles,
- 'dept': instance.dept,
- 'posts': instance.posts,
- };
- DepartmentRsp _$DepartmentRspFromJson(Map<String, dynamic> json) =>
- DepartmentRsp(
- id: const NumConverter().fromJson(json['id']),
- name: const StringConverter().fromJson(json['name']),
- parentId: const NumConverter().fromJson(json['parentId']),
- );
- Map<String, dynamic> _$DepartmentRspToJson(DepartmentRsp instance) =>
- <String, dynamic>{
- 'id': const NumConverter().toJson(instance.id),
- 'name': const StringConverter().toJson(instance.name),
- 'parentId': const NumConverter().toJson(instance.parentId),
- };
- EnumRsp _$EnumRspFromJson(Map<String, dynamic> json) => EnumRsp(
- id: const NumConverter().fromJson(json['id']),
- name: const StringConverter().fromJson(json['name']),
- );
- Map<String, dynamic> _$EnumRspToJson(EnumRsp instance) => <String, dynamic>{
- 'id': const NumConverter().toJson(instance.id),
- 'name': const StringConverter().toJson(instance.name),
- };
- PersonRsp _$PersonRspFromJson(Map<String, dynamic> json) => PersonRsp(
- id: const NumConverter().fromJson(json['id']),
- csny: const StringConverter().fromJson(json['csny']),
- age: const NumConverter().fromJson(json['age']),
- hdry: const StringConverter().fromJson(json['hdry']),
- minzu: const NumConverter().fromJson(json['minzu']),
- name: const StringConverter().fromJson(json['name']),
- qthcykyxm: const StringConverter().fromJson(json['qthcykyxm']),
- qybm: const StringConverter().fromJson(json['qybm']),
- role: const NumConverter().fromJson(json['role']),
- sfcsxzgl: const NumConverter().fromJson(json['sfcsxzgl']),
- sfzb: const NumConverter().fromJson(json['sfzb']),
- xueli: const NumConverter().fromJson(json['xueli']),
- zhanghao: const StringConverter().fromJson(json['zhanghao']),
- zhicheng: const NumConverter().fromJson(json['zhicheng']),
- zhiwu: const StringConverter().fromJson(json['zhiwu']),
- zhuanye: const StringConverter().fromJson(json['zhuanye']),
- zzmm: const NumConverter().fromJson(json['zzmm']),
- zzxl: const StringConverter().fromJson(json['zzxl']),
- zzzy: const StringConverter().fromJson(json['zzzy']),
- zjBaseEnterpriseId:
- const NumConverter().fromJson(json['zjBaseEnterpriseId']),
- enterpriseName: const StringConverter().fromJson(json['enterpriseName']),
- sex: const NumConverter().fromJson(json['sex']),
- userId: const NumConverter().fromJson(json['userId']),
- createTime: const StringConverter().fromJson(json['createTime']),
- jlqk: const StringConverter().fromJson(json['jlqk']),
- userPictureUrl: const StringConverter().fromJson(json['userPictureUrl']),
- userName: const StringConverter().fromJson(json['userName']),
- flowStatus: const NumConverter().fromJson(json['flowStatus']),
- );
- Map<String, dynamic> _$PersonRspToJson(PersonRsp instance) => <String, dynamic>{
- 'id': const NumConverter().toJson(instance.id),
- 'csny': const StringConverter().toJson(instance.csny),
- 'age': const NumConverter().toJson(instance.age),
- 'hdry': const StringConverter().toJson(instance.hdry),
- 'minzu': const NumConverter().toJson(instance.minzu),
- 'name': const StringConverter().toJson(instance.name),
- 'qthcykyxm': const StringConverter().toJson(instance.qthcykyxm),
- 'qybm': const StringConverter().toJson(instance.qybm),
- 'role': const NumConverter().toJson(instance.role),
- 'sfcsxzgl': const NumConverter().toJson(instance.sfcsxzgl),
- 'sfzb': const NumConverter().toJson(instance.sfzb),
- 'xueli': const NumConverter().toJson(instance.xueli),
- 'zhanghao': const StringConverter().toJson(instance.zhanghao),
- 'zhicheng': const NumConverter().toJson(instance.zhicheng),
- 'zhiwu': const StringConverter().toJson(instance.zhiwu),
- 'zhuanye': const StringConverter().toJson(instance.zhuanye),
- 'zzmm': const NumConverter().toJson(instance.zzmm),
- 'zzxl': const StringConverter().toJson(instance.zzxl),
- 'zzzy': const StringConverter().toJson(instance.zzzy),
- 'zjBaseEnterpriseId':
- const NumConverter().toJson(instance.zjBaseEnterpriseId),
- 'enterpriseName': const StringConverter().toJson(instance.enterpriseName),
- 'sex': const NumConverter().toJson(instance.sex),
- 'userId': const NumConverter().toJson(instance.userId),
- 'createTime': const StringConverter().toJson(instance.createTime),
- 'jlqk': const StringConverter().toJson(instance.jlqk),
- 'userPictureUrl': const StringConverter().toJson(instance.userPictureUrl),
- 'userName': const StringConverter().toJson(instance.userName),
- 'flowStatus': const NumConverter().toJson(instance.flowStatus),
- };
|