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

part 'submit_and_request_pay_request.g.dart';

@JsonSerializable()
class SubmitAndRequestPayRequest extends AppBaseRequest {
  @JsonKey(name: 'itemId')
  int goodsId;

  @JsonKey(name: 'payPlatform')
  int payPlatform;

  @JsonKey(name: 'payMethod')
  int payMethod;

  SubmitAndRequestPayRequest(
      {required this.goodsId,
      required this.payPlatform,
      required this.payMethod});

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