// GENERATED CODE - DO NOT MODIFY BY HAND part of 'clerk_manage.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** ClerkManage _$ClerkManageFromJson(Map json) => ClerkManage() ..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'] as num?)?.toInt() ..email = json['email'] as String? ..mobile = json['mobile'] as String? ..sex = json['sex'] == null ? null : Sex.fromJson(json['sex'] as Map) ..status = json['status'] as bool? ..avatar = json['avatar'] as String? ..nation = json['nation'] == null ? null : Nation.fromJson(json['nation'] as Map) ..education = json['education'] == null ? null : Education.fromJson(json['education'] as Map) ..positionStatus = json['positionStatus'] == null ? null : PositionStatus.fromJson(json['positionStatus'] as Map) ..workDescribe = json['workDescribe'] as String? ..passwordErrorLastTime = json['passwordErrorLastTime'] ..passwordErrorNum = (json['passwordErrorNum'] as num?)?.toInt() ..passwordExpireTime = json['passwordExpireTime'] ..password = json['password'] as String? ..lastLoginTime = json['lastLoginTime']; Map _$ClerkManageToJson(ClerkManage 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?.toJson(), 'education': instance.education?.toJson(), 'positionStatus': instance.positionStatus?.toJson(), 'workDescribe': instance.workDescribe, 'passwordErrorLastTime': instance.passwordErrorLastTime, 'passwordErrorNum': instance.passwordErrorNum, 'passwordExpireTime': instance.passwordExpireTime, 'password': instance.password, 'lastLoginTime': instance.lastLoginTime, }; Sex _$SexFromJson(Map json) => Sex() ..desc = json['desc'] as String? ..code = json['code'] as String?; Map _$SexToJson(Sex instance) => { 'desc': instance.desc, 'code': instance.code, }; Nation _$NationFromJson(Map json) => Nation() ..key = json['key'] ..data = json['data'] as String?; Map _$NationToJson(Nation instance) => { 'key': instance.key, 'data': instance.data, }; Education _$EducationFromJson(Map json) => Education() ..key = json['key'] ..data = json['data'] as String?; Map _$EducationToJson(Education instance) => { 'key': instance.key, 'data': instance.data, }; PositionStatus _$PositionStatusFromJson(Map json) => PositionStatus() ..key = json['key'] ..data = json['data'] as String?; Map _$PositionStatusToJson(PositionStatus instance) => { 'key': instance.key, 'data': instance.data, };