import 'package:json_annotation/json_annotation.dart';

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


part 'login_request.g.dart';

@JsonSerializable()
class LoginRequest extends AppBaseRequest {
  @JsonKey(name: "phone")
  String phoneNum;

  @JsonKey(name: "code")
  String verificationCode;

  LoginRequest(this.phoneNum, this.verificationCode);

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