import 'package:json_annotation/json_annotation.dart';

part 'userInfo.g.dart';

@JsonSerializable()
class UserInfo {
    UserInfo();

    num uid;
    String real_name;
    num birthday;
    String card_id;
    num partner_id;
    num group_id;
    String nickname;
    String avatar;
    String phone;
    String now_money;
    String brokerage_price;
    String integral;
    num sign_num;
    num level;
    num spread_uid;
    num spread_time;
    String user_type;
    num is_promoter;
    num pay_count;
    num spread_count;
    String addres;
    num adminid;
    String login_type;
    num vip_level;
    num vip_status;
    num vip_card_level;
    num vip_gift;
    num vip_time;
    String vip_card_id;
    String broken_commission;
    String commissionCount;
    
    factory UserInfo.fromJson(Map<String,dynamic> json) => _$UserInfoFromJson(json);
    Map<String, dynamic> toJson() => _$UserInfoToJson(this);
}
