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.
 
 
 
 
 
 

107 lines
3.8 KiB

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