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.
36 lines
843 B
36 lines
843 B
import 'package:huixiang/generated/json/base/json_field.dart'; |
|
import 'package:huixiang/generated/json/member_infor.g.dart'; |
|
import 'dart:convert'; |
|
export 'package:huixiang/generated/json/member_infor.g.dart'; |
|
|
|
@JsonSerializable() |
|
class MemberInfor { |
|
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; |
|
|
|
MemberInfor(); |
|
|
|
factory MemberInfor.fromJson(Map<String, dynamic> json) => $MemberInforFromJson(json); |
|
|
|
Map<String, dynamic> toJson() => $MemberInforToJson(this); |
|
|
|
@override |
|
String toString() { |
|
return jsonEncode(this); |
|
} |
|
} |