import 'package:electronic_assistant/base/app_base_request.dart';
import 'package:json_annotation/json_annotation.dart';

part 'complaint_submit_request.g.dart';

@JsonSerializable()
class ComplaintSubmitRequest extends AppBaseRequest {
  @JsonKey(name: "type")
  int type;

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

  ComplaintSubmitRequest(this.type, this.content);

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