import 'package:json_annotation/json_annotation.dart';
import 'package:keyboard/data/bean/character_info.dart';
import 'package:keyboard/data/bean/pay_way_info.dart';

import '../../bean/goods_info.dart';

part 'member_new_user_response.g.dart';

@JsonSerializable()
class MemberNewUserResponse {
  @JsonKey(name: "intimacy")
  int? intimacy;

  @JsonKey(name: "items")
  List<GoodsInfo>? goodsInfoList;

  @JsonKey(name: "payOptions")
  List<PayWayInfo>? payInfoList;

  @JsonKey(name: "characterInfos")
  List<CharacterInfo>? characterInfos;

  MemberNewUserResponse({
    this.intimacy,
    this.goodsInfoList,
    this.payInfoList,
    this.characterInfos,
  });

  factory MemberNewUserResponse.fromJson(Map<String, dynamic> json) =>
      _$MemberNewUserResponseFromJson(json);
}
