/*
 * @Author: wangyang 1147192855@qq.com
 * @Date: 2022-07-13 17:17:53
 * @LastEditors: wangyang 1147192855@qq.com
 * @LastEditTime: 2022-07-13 17:23:42
 * @FilePath: \marking_app\lib\common\model\user\user_login_params.dart
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import 'package:json_annotation/json_annotation.dart'; 
  
part 'user_login_params.g.dart';


@JsonSerializable()
  class UserLoginParams extends Object {

  @JsonKey(name: 'loginName')
  String loginName;

  @JsonKey(name: 'password')
  String password;

  UserLoginParams(this.loginName,this.password,);

  factory UserLoginParams.fromJson(Map<String, dynamic> srcJson) => _$UserLoginParamsFromJson(srcJson);

  Map<String, dynamic> toJson() => _$UserLoginParamsToJson(this);

}