import 'package:electronic_assistant/data/bean/agenda.dart';
import 'package:electronic_assistant/data/bean/folder.dart';
import 'package:electronic_assistant/data/bean/talks.dart';
import 'package:json_annotation/json_annotation.dart';

part 'example_info_response.g.dart';

@JsonSerializable()
class ExampleInfoResponse {
  @JsonKey(name: 'talkInfos')
  List<TalkBean>? talkInfoList;

  @JsonKey(name: 'agendas')
  List<Agenda>? agendaList;

  @JsonKey(name: 'folders')
  List<Folder>? folderList;

  ExampleInfoResponse(this.talkInfoList, this.agendaList, this.folderList);

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