import 'package:json_annotation/json_annotation.dart';

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

part 'character_custom_generate_request.g.dart';

@JsonSerializable()
class CharacterCustomGenerateRequest extends AppBaseRequest {
  @JsonKey(name: "name")
  String? name;

  @JsonKey(name: "birthday")
  String? birthday;

  @JsonKey(name: "imageUrl")
  String? imageUrl;

  @JsonKey(name: "gender")
  int? gender;

  @JsonKey(name: "hobbies")
  List<String>? hobbies;

  @JsonKey(name: "characters")
  List<String>? characters;

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

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