class SuratJalanDetailModel {
  String? deliveryId;
  String? deliveryNumber;
  String? orderNumber;
  String? deliveryDetailId;
  String? orderId;
  String? date;
  String? patientName;
  String? status;
  String? acceptedSample;
  String? rejectedSample;

  SuratJalanDetailModel(
      {this.deliveryId,
      this.deliveryNumber,
      this.deliveryDetailId,
      this.orderId,
      this.date,
      this.orderNumber,
      this.patientName,
      this.acceptedSample,
      this.rejectedSample,
      this.status});

  SuratJalanDetailModel.fromJson(Map<String, dynamic> json) {
    deliveryId = json['delivery_id'];
    deliveryNumber = json['delivery_number'];
    deliveryDetailId = json['delivery_detail_id'];
    orderId = json['order_id'];
    date = json['date'];
    orderNumber = json['order_number'];
    patientName = json['patient_name'];
    acceptedSample = json['accepted_sample'];
    rejectedSample = json['rejected_sample'];
    status = json['status'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = <String, dynamic>{};
    data['delivery_id'] = deliveryId;
    data['delivery_number'] = deliveryNumber;
    data['delivery_detail_id'] = deliveryDetailId;
    data['order_id'] = orderId;
    data['date'] = date;
    data['order_number'] = orderNumber;
    data['patient_name'] = patientName;
    data['accepted_sample'] = acceptedSample;
    data['rejected_sample'] = rejectedSample;
    data['status'] = status;
    return data;
  }
}
