import 'package:clean/base/base_request.dart';
import 'package:json_annotation/json_annotation.dart';

part 'order_pay_request.g.dart';

@JsonSerializable()
class OrderPayRequest extends BaseRequest {
  @JsonKey(name: 'itemId')
  int itemId;

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

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

  OrderPayRequest(this.itemId, this.payPlatform, this.payMethod);

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