You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
74 lines
2.7 KiB
74 lines
2.7 KiB
// GENERATED CODE - DO NOT MODIFY BY HAND |
|
|
|
part of 'user_info_edit.dart'; |
|
|
|
// ************************************************************************** |
|
// JsonSerializableGenerator |
|
// ************************************************************************** |
|
|
|
UserInfoEdit _$UserInfoEditFromJson(Map<String, dynamic> 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<String, dynamic>) |
|
..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<String, dynamic> _$UserInfoEditToJson(UserInfoEdit instance) => |
|
<String, dynamic>{ |
|
'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<String, dynamic> json) => |
|
UserInfoEditSex() |
|
..desc = json['desc'] as String? |
|
..code = json['code'] as String?; |
|
|
|
Map<String, dynamic> _$UserInfoEditSexToJson(UserInfoEditSex instance) => |
|
<String, dynamic>{ |
|
'desc': instance.desc, |
|
'code': instance.code, |
|
};
|
|
|