import 'dart:convert';

import 'package:json_annotation/json_annotation.dart';

import '../../../base/app_base_request.dart';

part 'user_info_setting_request.g.dart';

@JsonSerializable()
class UserInfoSettingRequest extends AppBaseRequest {
  @JsonKey(name: "name")
  String? name;
  @JsonKey(name: "birthday")
  String? birthday;
  @JsonKey(name: "gender")
  int? gender;
  @JsonKey(name: "imageUrl")
  String? imageUrl;
  @JsonKey(name: "hobbies")
  List<String>? hobbies;
  @JsonKey(name: "characters")
  List<String>? characters;

  UserInfoSettingRequest({
    this.name,
    this.birthday,
    this.gender,
    this.characters,
    this.hobbies,
    this.imageUrl,
  });

  @override
  Map<String, dynamic> toJson() => _$UserInfoSettingRequestToJson(this);
}
