///
/// Code generated by jsonToDartModel https://ashamp.github.io/jsonToDartModel/
///
class RegisterRequest {
/*
{
  "PhoneNumber": "0123456788",
  "Email":"ngoc@gmail.com",
  "FullName": "thanh",
  "Password": "123456",
  "DeviceToken": "string",
  "ConfirmPassword": "123456",
  "ReferencesCode": ""
}
*/

  String? phoneNumber;
  String? email;
  String? fullName;
  String? password;
  String? deviceToken;
  String? confirmPassword;
  String? referencesCode;

  RegisterRequest({
    this.phoneNumber,
    this.email,
    this.fullName,
    this.password,
    this.deviceToken,
    this.confirmPassword,
    this.referencesCode,
  });
  RegisterRequest.fromJson(Map<String, dynamic> json) {
    phoneNumber = json["PhoneNumber"]?.toString();
    email = json["Email"]?.toString();
    fullName = json["FullName"]?.toString();
    password = json["Password"]?.toString();
    deviceToken = json["DeviceToken"]?.toString();
    confirmPassword = json["ConfirmPassword"]?.toString();
    referencesCode = json["ReferencesCode"]?.toString();
  }
  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = Map<String, dynamic>();
    data["PhoneNumber"] = phoneNumber;
    data["Email"] = email;
    data["FullName"] = fullName;
    data["Password"] = password;
    data["DeviceToken"] = deviceToken;
    data["ConfirmPassword"] = confirmPassword;
    data["ReferencesCode"] = referencesCode;
    return data;
  }
}
