// GENERATED CODE - DO NOT MODIFY BY HAND part of 'user_rsp.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** UserRsp _$UserRspFromJson(Map 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?) ?.map((e) => EnumRsp.fromJson(e as Map)) .toList(), dept: json['dept'] == null ? null : DepartmentRsp.fromJson(json['dept'] as Map), posts: (json['posts'] as List?) ?.map((e) => EnumRsp.fromJson(e as Map)) .toList(), ); Map _$UserRspToJson(UserRsp instance) => { '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 json) => DepartmentRsp( id: const NumConverter().fromJson(json['id']), name: const StringConverter().fromJson(json['name']), parentId: const NumConverter().fromJson(json['parentId']), ); Map _$DepartmentRspToJson(DepartmentRsp instance) => { 'id': const NumConverter().toJson(instance.id), 'name': const StringConverter().toJson(instance.name), 'parentId': const NumConverter().toJson(instance.parentId), }; EnumRsp _$EnumRspFromJson(Map json) => EnumRsp( id: const NumConverter().fromJson(json['id']), name: const StringConverter().fromJson(json['name']), ); Map _$EnumRspToJson(EnumRsp instance) => { 'id': const NumConverter().toJson(instance.id), 'name': const StringConverter().toJson(instance.name), }; PersonRsp _$PersonRspFromJson(Map 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 _$PersonRspToJson(PersonRsp instance) => { '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), };