import 'package:json_annotation/json_annotation.dart';
import 'package:location/base/app_base_request.dart';
import 'package:location/data/bean/phone_event_bean.dart';

part 'location_phone_event_request.g.dart';

@JsonSerializable()
class LocationPhoneEventRequest extends AppBaseRequest {
  @JsonKey(name: 'events')
  List<PhoneEventBean> events;

  LocationPhoneEventRequest(this.events);

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