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.
32 lines
672 B
32 lines
672 B
1 month ago
|
import 'package:json_annotation/json_annotation.dart';
|
||
|
|
||
|
part 'member_info.g.dart';
|
||
|
|
||
|
@JsonSerializable(explicitToJson: true)
|
||
|
class MemberInfo {
|
||
|
String? id = '';
|
||
|
String? nickname = '';
|
||
|
String? headimg = '';
|
||
|
bool? userType = false;
|
||
|
String? sex = '';
|
||
|
int? level = 0;
|
||
|
String? remark = '';
|
||
|
String? createTime = '';
|
||
|
String? birth = '';
|
||
|
int? organic = 0;
|
||
|
int? age = 0;
|
||
|
String? signature = '';
|
||
|
String? background = '';
|
||
|
int? follow = 0;
|
||
|
int? fans = 0;
|
||
|
int? trendTotal = 0;
|
||
|
int? gainLikeTotal = 0;
|
||
|
|
||
|
MemberInfo();
|
||
|
|
||
|
factory MemberInfo.fromJson(Map<String, dynamic> json) => _$MemberInfoFromJson(json);
|
||
|
|
||
|
Map<String, dynamic> toJson() => _$MemberInfoToJson(this);
|
||
|
|
||
|
|
||
|
}
|