class UserRegistrationModel {
  String userName;
  String password;
  String email;
  String countryCode;
  String mobileNumber;
  bool isUserLock;
  int gender;
  int passWrongAttempt;
  int statusId;
  bool isEmailVerified;
  bool isMobileVerified;

  UserRegistrationModel(
      {this.userName, this.password, this.email, this.countryCode, this.mobileNumber, this.isUserLock, this.gender, this.passWrongAttempt, this.statusId, this.isEmailVerified, this.isMobileVerified});

  UserRegistrationModel.fromJson(Map<String, dynamic> json) {
    userName = json['userName'];
    password = json['password'];
    email = json['email'];
    countryCode = json['countryCode'];
    mobileNumber = json['mobileNumber'];
    isUserLock = json['isUserLock'];
    gender = json['gender'];
    passWrongAttempt = json['passWrongAttempt'];
    statusId = json['statusId'];
    isEmailVerified = json['isEmailVerified'];
    isMobileVerified = json['isMobileVerified'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['userName'] = this.userName;
    data['password'] = this.password;
    data['email'] = this.email;
    data['countryCode'] = this.countryCode;
    data['mobileNumber'] = this.mobileNumber;
    data['isUserLock'] = this.isUserLock;
    data['gender'] = this.gender;
    data['passWrongAttempt'] = this.passWrongAttempt;
    data['statusId'] = this.statusId;
    data['isEmailVerified'] = this.isEmailVerified;
    data['isMobileVerified'] = this.isMobileVerified;
    return data;
  }
}
