class NewLoginInformationModel {
  int? doctorID;
  List<ListMemberInformation>? listMemberInformation;
  String? logInTokenID;
  String? mobileNumber;
  String? sELECTDeviceIMEIbyIMEIList;
  int? userID;
  String? zipCode;
  bool? isActiveCode;
  bool? isSMSSent;

  NewLoginInformationModel({
    this.doctorID,
    this.listMemberInformation,
    this.logInTokenID,
    this.mobileNumber,
    this.sELECTDeviceIMEIbyIMEIList,
    this.userID,
    this.zipCode,
    this.isActiveCode,
    this.isSMSSent,
  });

  NewLoginInformationModel.fromJson(Map<String, dynamic> json) {
    doctorID = json['DoctorID'];
    if (json['List_MemberInformation'] != null) {
      listMemberInformation = <ListMemberInformation>[];
      json['List_MemberInformation'].forEach((v) {
        listMemberInformation?.add(ListMemberInformation.fromJson(v));
      });
    }
    logInTokenID = json['LogInTokenID'];
    mobileNumber = json['MobileNumber'];
    sELECTDeviceIMEIbyIMEIList = json['SELECTDeviceIMEIbyIMEI_List'];
    userID = json['UserID'];
    zipCode = json['ZipCode'];
    isActiveCode = json['isActiveCode'];
    isSMSSent = json['isSMSSent'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = <String, dynamic>{};
    data['DoctorID'] = doctorID;
    if (listMemberInformation != null) {
      data['List_MemberInformation'] = listMemberInformation?.map((v) => v.toJson()).toList();
    }
    data['LogInTokenID'] = logInTokenID;
    data['MobileNumber'] = mobileNumber;
    data['SELECTDeviceIMEIbyIMEI_List'] = sELECTDeviceIMEIbyIMEIList;
    data['UserID'] = userID;
    data['ZipCode'] = zipCode;
    data['isActiveCode'] = isActiveCode;
    data['isSMSSent'] = isSMSSent;
    return data;
  }
}

class ListMemberInformation {
  String? setupID;
  int? memberID;
  String? memberName;
  String? memberNameN;
  String? preferredLang;
  String? pIN;
  String? saltHash;
  int? referenceID;
  int? employeeID;
  int? roleID;
  int? projectid;

  ListMemberInformation({
    this.setupID,
    this.memberID,
    this.memberName,
    this.memberNameN,
    this.preferredLang,
    this.pIN,
    this.saltHash,
    this.referenceID,
    this.employeeID,
    this.roleID,
    this.projectid,
  });

  ListMemberInformation.fromJson(Map<String, dynamic> json) {
    setupID = json['SetupID'];
    memberID = json['MemberID'];
    memberName = json['MemberName'];
    memberNameN = json['MemberNameN'];
    preferredLang = json['PreferredLang'];
    pIN = json['PIN'];
    saltHash = json['SaltHash'];
    referenceID = json['ReferenceID'];
    employeeID = json['EmployeeID'];
    roleID = json['RoleID'];
    projectid = json['projectid'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = <String, dynamic>{};
    data['SetupID'] = setupID;
    data['MemberID'] = memberID;
    data['MemberName'] = memberName;
    data['MemberNameN'] = memberNameN;
    data['PreferredLang'] = preferredLang;
    data['PIN'] = pIN;
    data['SaltHash'] = saltHash;
    data['ReferenceID'] = referenceID;
    data['EmployeeID'] = employeeID;
    data['RoleID'] = roleID;
    data['projectid'] = projectid;
    return data;
  }
}
