class SuppliesUsing {
  int? id;
  String? dosage;
  num? quantity;
  String? unit;
  String? howToUse;
  int? suppliesInWarehouseId;
  int? tbSuppliesInWarehouseId;
  String? supplyName;
  String? supplyUnit;
  int? tbEquipmentOfCustomerId;
  int? equipmentOfCustomerId;
  String? equipmentName;

  SuppliesUsing(
      {this.id,
      this.dosage,
      this.quantity,
      this.unit,
      this.howToUse,
      this.suppliesInWarehouseId,
      this.tbEquipmentOfCustomerId,
      this.equipmentOfCustomerId,
      this.equipmentName,
      this.tbSuppliesInWarehouseId,
      this.supplyName,
      this.supplyUnit});

  SuppliesUsing.fromJson(Map<String, dynamic> json) {
    id = json['id'];
    dosage = json['dosage'];
    quantity = json['quantity'];
    unit = json['unit'];
    howToUse = json['howToUse'];
    suppliesInWarehouseId = json['suppliesInWarehouseId'];
    tbEquipmentOfCustomerId = json['tbEquipmentOfCustomerId'];
    equipmentOfCustomerId = json['equipmentOfCustomerId'];
    equipmentName = json['equipmentName'];
    tbSuppliesInWarehouseId = json['tbSuppliesInWarehouseId'];
    supplyName = json['supplyName'];
    supplyUnit = json['supplyUnit'];
  }

  Map<String, dynamic> toJson() {
    final data = <String, dynamic>{};
    data['id'] = id;
    data['dosage'] = dosage;
    data['quantity'] = quantity;
    data['unit'] = unit;
    data['howToUse'] = howToUse;
    data['suppliesInWarehouseId'] = suppliesInWarehouseId;
    data['tbEquipmentOfCustomerId'] = tbEquipmentOfCustomerId;
    data['equipmentOfCustomerId'] = equipmentOfCustomerId;
    data['equipmentName'] = equipmentName;
    data['tbSuppliesInWarehouseId'] = tbSuppliesInWarehouseId;
    data['supplyName'] = supplyName;
    data['supplyUnit'] = supplyUnit;
    return data;
  }
}
