class Packing {
  int? id;
  int? cropId;
  int? activityId;
  int? harvestId;
  String? executeDate;
  String? description;
  String? executeBy;
  String? media;
  List<String>? mediaDel;
  num? quantityLv1;
  num? quantityLv2;
  num? quantityLv3;
  num? removedQuantity;

  Packing(
      {this.id,
      this.cropId,
      this.activityId,
      this.harvestId,
      this.executeDate,
      this.description,
      this.executeBy,
      this.media,
      this.mediaDel,
      this.quantityLv1,
      this.quantityLv2,
      this.quantityLv3,
      this.removedQuantity});

  Packing.fromJson(Map<String, dynamic> json) {
    id = json['id'];
    cropId = json['cropId'];
    activityId = json['activityId'];
    harvestId = json['harvestId'];
    executeDate = json['executeDate'];
    description = json['description'];
    executeBy = json['executeBy'];
    media = json['media'];
    quantityLv1 = json['quantityLv1'];
    quantityLv2 = json['quantityLv2'];
    quantityLv3 = json['quantityLv3'];
    removedQuantity = json['removedQuantity'];
  }

  Map<String, dynamic> toJson() {
    final data = <String, dynamic>{};
    data['id'] = id;
    data['cropId'] = cropId;
    data['activityId'] = activityId;
    data['harvestId'] = harvestId;
    data['executeDate'] = executeDate;
    data['description'] = description;
    data['executeBy'] = executeBy;
    data['media'] = media;
    data['media_del'] = mediaDel;
    data['quantityLv1'] = quantityLv1;
    data['quantityLv2'] = quantityLv2;
    data['quantityLv3'] = quantityLv3;
    data['removedQuantity'] = removedQuantity;
    return data;
  }
}
