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

part 'agenda_list_all_bean.g.dart';

@JsonSerializable()
class AgendaListAllBean {
  @JsonKey(name: 'name')
  String? name;

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

  AgendaListAllBean({this.name, this.list});

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