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 Map<String, dynamic> data = new Map<String, dynamic>();
    data['id'] = this.id;
    data['dosage'] = this.dosage;
    data['quantity'] = this.quantity;
    data['unit'] = this.unit;
    data['howToUse'] = this.howToUse;
    data['suppliesInWarehouseId'] = this.suppliesInWarehouseId;
    data['tbEquipmentOfCustomerId'] = this.tbEquipmentOfCustomerId;
    data['equipmentOfCustomerId'] = this.equipmentOfCustomerId;
    data['equipmentName'] = this.equipmentName;
    data['tbSuppliesInWarehouseId'] = this.tbSuppliesInWarehouseId;
    data['supplyName'] = this.supplyName;
    data['supplyUnit'] = this.supplyUnit;
    return data;
  }
}
