// GENERATED CODE - DO NOT MODIFY BY HAND part of 'user_info_edit.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** UserInfoEdit _$UserInfoEditFromJson(Map json) => UserInfoEdit() ..id = json['id'] as String? ..createTime = json['createTime'] as String? ..createUser = json['createUser'] as String? ..updateTime = json['updateTime'] as String? ..updateUser = json['updateUser'] as String? ..account = json['account'] as String? ..name = json['name'] as String? ..org = json['org'] ..station = json['station'] ..type = json['type'] ..email = json['email'] ..mobile = json['mobile'] ..sex = json['sex'] == null ? null : UserInfoEditSex.fromJson(json['sex'] as Map) ..status = json['status'] ..avatar = json['avatar'] ..nation = json['nation'] ..education = json['education'] ..positionStatus = json['positionStatus'] ..workDescribe = json['workDescribe'] ..passwordErrorLastTime = json['passwordErrorLastTime'] ..passwordErrorNum = (json['passwordErrorNum'] as num?)?.toInt() ..passwordExpireTime = json['passwordExpireTime'] ..password = json['password'] as String? ..lastLoginTime = json['lastLoginTime']; Map _$UserInfoEditToJson(UserInfoEdit instance) => { 'id': instance.id, 'createTime': instance.createTime, 'createUser': instance.createUser, 'updateTime': instance.updateTime, 'updateUser': instance.updateUser, 'account': instance.account, 'name': instance.name, 'org': instance.org, 'station': instance.station, 'type': instance.type, 'email': instance.email, 'mobile': instance.mobile, 'sex': instance.sex?.toJson(), 'status': instance.status, 'avatar': instance.avatar, 'nation': instance.nation, 'education': instance.education, 'positionStatus': instance.positionStatus, 'workDescribe': instance.workDescribe, 'passwordErrorLastTime': instance.passwordErrorLastTime, 'passwordErrorNum': instance.passwordErrorNum, 'passwordExpireTime': instance.passwordExpireTime, 'password': instance.password, 'lastLoginTime': instance.lastLoginTime, }; UserInfoEditSex _$UserInfoEditSexFromJson(Map json) => UserInfoEditSex() ..desc = json['desc'] as String? ..code = json['code'] as String?; Map _$UserInfoEditSexToJson(UserInfoEditSex instance) => { 'desc': instance.desc, 'code': instance.code, };