import 'package:json_annotation/json_annotation.dart';

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

part 'complaint_submit_request.g.dart';

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

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

  ComplaintSubmitRequest(this.phone, this.content);

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