import 'package:json_annotation/json_annotation.dart';

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

part 'character_page_request.g.dart';

@JsonSerializable()
class CharacterPageRequest extends AppBaseRequest {
  @JsonKey(name: "groupId")
  String groupId;

  @JsonKey(name: "keyboardId")
  String keyboardId;

  @JsonKey(name: "page")
  int page;
  @JsonKey(name: "pageSize")
  int pageSize;

  CharacterPageRequest({
    required this.groupId,
    required this.keyboardId,
    required this.page,
    required this.pageSize,
  });

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