class Customerrequest {
  final List<CustomerFullView>? customerFullView;

  Customerrequest({
    this.customerFullView,
  });

}


class CustomerFullView {
  final int? customerid;
  final String? firstname;
  final dynamic lastname;
  final String? profileimage;
  final String? gender;
  final DateTime? dob;
  final String? dialcode;
  final String? contactno;
  final String? email;
  final String? deviceid;
  final String? devicetype;
  final int? authmode;
  final int? configid;
  final String? customertoken;
  final int? deliverylocationid;
  final String? address;
  final String? suburb;
  final String? city;
  final String? state;
  final String? landmark;
  final String? doorno;
  final String? postcode;
  final String? latitude;
  final String? longitude;
  final int? applocationid;
  final int? allocationid;
  final int? primaryaddress;
  final int? tenantlocationid;
  final int? tenantid;
  final int? status;
  final dynamic intro;
  final String? selectedlatitude;
  final String? selectedlongitude;
  final int? radius;
  final int? qrmode;

  CustomerFullView({
    this.customerid,
    this.firstname,
    this.lastname,
    this.profileimage,
    this.gender,
    this.dob,
    this.dialcode,
    this.contactno,
    this.email,
    this.deviceid,
    this.devicetype,
    this.authmode,
    this.configid,
    this.customertoken,
    this.deliverylocationid,
    this.address,
    this.suburb,
    this.city,
    this.state,
    this.landmark,
    this.doorno,
    this.postcode,
    this.latitude,
    this.longitude,
    this.applocationid,
    this.allocationid,
    this.primaryaddress,
    this.tenantlocationid,
    this.tenantid,
    this.status,
    this.intro,
    this.selectedlatitude,
    this.selectedlongitude,
    this.radius,
    this.qrmode,
  });

  factory CustomerFullView.fromJson(Map<String, dynamic> json) {
    return CustomerFullView(
      customerid:          json['customerid'] as int?,
      firstname:           json['firstname'] as String?,
      lastname:            json['lastname'],
      profileimage:        json['profileimage'] as String?,
      gender:              json['gender'] as String?,
      dob:                 json['dob'] != null ? DateTime.tryParse(json['dob']) : null,
      dialcode:            json['dialcode'] as String?,
      contactno:           json['contactno'] as String?,
      email:               json['email'] as String?,
      deviceid:            json['deviceid'] as String?,
      devicetype:          json['devicetype'] as String?,
      authmode:            json['authmode'] as int?,
      configid:            json['configid'] as int?,
      customertoken:       json['customertoken'] as String?,
      deliverylocationid:  json['deliverylocationid'] as int?,
      address:             json['address'] as String?,
      suburb:              json['suburb'] as String?,
      city:                json['city'] as String?,
      state:               json['state'] as String?,
      landmark:            json['landmark'] as String?,
      doorno:              json['doorno'] as String?,
      postcode:            json['postcode'] as String?,
      latitude:            json['latitude'] as String?,
      longitude:           json['longitude'] as String?,
      applocationid:       json['applocationid'] as int?,
      allocationid:        json['allocationid'] as int?,
      primaryaddress:      json['primaryaddress'] as int?,
      tenantlocationid:    json['tenantlocationid'] as int?,
      tenantid:            json['tenantid'] as int?,
      status:              json['status'] as int?,
      intro:               json['intro'],
      selectedlatitude:    json['selectedlatitude'] as String?,
      selectedlongitude:   json['selectedlongitude'] as String?,
      radius:              json['radius'] as int?,
      qrmode:              json['qrmode'] as int?,
    );
  }

}
