| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- import 'package:json_annotation/json_annotation.dart';
- import '../../bean/member_info.dart';
- part 'user_info_response.g.dart';
- @JsonSerializable()
- class UserInfoResponse {
- @JsonKey(name: 'userId')
- String? userId;
- @JsonKey(name: 'ssid')
- String? ssid;
- @JsonKey(name: 'deviceId')
- String? deviceId;
- @JsonKey(name: 'phone')
- String? phone;
- @JsonKey(name: 'loginStatus')
- int? loginStatus;
- @JsonKey(name: 'channelName')
- String? channelName;
- @JsonKey(name: 'gender')
- int? gender;
- @JsonKey(name: 'birthday')
- String? birthday;
- @JsonKey(name: 'intimacy')
- int? intimacy;
- @JsonKey(name: 'userIdOrSsid')
- String? userIdOrSsid;
- @JsonKey(name: 'imageUrl')
- String? imageUrl;
- @JsonKey(name: 'memberInfo')
- MemberInfo? memberInfo;
- UserInfoResponse(
- this.userId,
- this.ssid,
- this.deviceId,
- this.phone,
- this.loginStatus,
- this.channelName,
- this.gender,
- this.birthday,
- this.intimacy,
- this.userIdOrSsid,
- this.memberInfo,
- );
- factory UserInfoResponse.fromJson(Map<String, dynamic> json) =>
- _$UserInfoResponseFromJson(json);
- }
|