import 'package:json_annotation/json_annotation.dart'; part 'clerk_manage.g.dart'; @JsonSerializable(explicitToJson: true) class ClerkManage { String? id = ''; String? createTime = ''; String? createUser = ''; String? updateTime = ''; String? updateUser = ''; String? account = ''; String? name = ''; dynamic org; dynamic station; int? type = 0; String? email = ''; String? mobile = ''; Sex? sex; bool? status = false; String? avatar = ''; Nation? nation; Education? education; PositionStatus? positionStatus; String? workDescribe = ''; dynamic passwordErrorLastTime; int? passwordErrorNum = 0; dynamic passwordExpireTime; String? password = ''; dynamic lastLoginTime; ClerkManage(); factory ClerkManage.fromJson(Map json) => _$ClerkManageFromJson(json); Map toJson() => _$ClerkManageToJson(this); } @JsonSerializable(explicitToJson: true) class Sex { String? desc = ''; String? code = ''; Sex(); factory Sex.fromJson(Map json) => _$SexFromJson(json); Map toJson() => _$SexToJson(this); } @JsonSerializable(explicitToJson: true) class Nation { dynamic key; String? data = ''; Nation(); factory Nation.fromJson(Map json) => _$NationFromJson(json); Map toJson() => _$NationToJson(this); } @JsonSerializable(explicitToJson: true) class Education { dynamic key; String? data = ''; Education(); factory Education.fromJson(Map json) => _$EducationFromJson(json); Map toJson() => _$EducationToJson(this); } @JsonSerializable(explicitToJson: true) class PositionStatus { dynamic key; String? data = ''; PositionStatus(); factory PositionStatus.fromJson(Map json) => _$PositionStatusFromJson(json); Map toJson() => _$PositionStatusToJson(this); }