| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- 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: '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);
- }
|