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.
53 lines
1.1 KiB
53 lines
1.1 KiB
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<String, dynamic> json) => _$UserInfoEditFromJson(json); |
|
|
|
Map<String, dynamic> toJson() => _$UserInfoEditToJson(this); |
|
|
|
|
|
} |
|
|
|
@JsonSerializable(explicitToJson: true) |
|
class UserInfoEditSex { |
|
String? desc = ''; |
|
String? code = ''; |
|
|
|
UserInfoEditSex(); |
|
|
|
factory UserInfoEditSex.fromJson(Map<String, dynamic> json) => _$UserInfoEditSexFromJson(json); |
|
|
|
Map<String, dynamic> toJson() => _$UserInfoEditSexToJson(this); |
|
|
|
|
|
} |