import 'package:json_annotation/json_annotation.dart'; part 'user_info_edit.g.dart'; @JsonSerializable(explicitToJson: true) class UserInfoEdit { String? id = ''; String? createTime = ''; String? createUser = ''; String? updateTime = ''; String? updateUser = ''; String? account = ''; String? name = ''; dynamic org; dynamic station; dynamic type; dynamic email; dynamic mobile; UserInfoEditSex? sex; dynamic status; dynamic avatar; dynamic nation; dynamic education; dynamic positionStatus; dynamic workDescribe; dynamic passwordErrorLastTime; int? passwordErrorNum = 0; dynamic passwordExpireTime; String? password = ''; dynamic lastLoginTime; UserInfoEdit(); factory UserInfoEdit.fromJson(Map json) => _$UserInfoEditFromJson(json); Map toJson() => _$UserInfoEditToJson(this); } @JsonSerializable(explicitToJson: true) class UserInfoEditSex { String? desc = ''; String? code = ''; UserInfoEditSex(); factory UserInfoEditSex.fromJson(Map json) => _$UserInfoEditSexFromJson(json); Map toJson() => _$UserInfoEditSexToJson(this); }