import 'package:json_annotation/json_annotation.dart';

part 'login.g.dart';


@JsonSerializable()
class LoginRequest {
  final String login;
  final String password;

  const LoginRequest({required this.login, required this.password});

  factory LoginRequest.fromJson(Map<String, dynamic> json) => _$LoginRequestFromJson(json);
  Map<String, dynamic> toJson() => _$LoginRequestToJson(this); 
}
