class ApprovalDetailModel {
  String? id;
  String? name;
  String? nip;
  String? date;
  String? time;
  String? address;
  double? lat;
  double? long;
  String? imagePath;
  String? statusID;
  String? statusName;

  ApprovalDetailModel(
      {this.id,
      this.name,
      this.nip,
      this.date,
      this.time,
      this.address,
      this.lat,
      this.long,
      this.imagePath,
      this.statusID,
      this.statusName});

  ApprovalDetailModel.fromJson(Map<String, dynamic> json) {
    id = json['id'];
    name = json['Name'];
    nip = json['nip'];
    date = json['date'];
    time = json['time'];
    address = json['address'];
    lat = json['lat'];
    long = json['long'];
    imagePath = json['imagePath'];
    statusID = json['statusID'];
    statusName = json['statusName'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['id'] = this.id;
    data['Name'] = this.name;
    data['nip'] = this.nip;
    data['date'] = this.date;
    data['time'] = this.time;
    data['address'] = this.address;
    data['lat'] = this.lat;
    data['long'] = this.long;
    data['imagePath'] = this.imagePath;
    data['statusID'] = this.statusID;
    data['statusName'] = this.statusName;
    return data;
  }
}
