///todo deleted
// @Deprecated("Use the class inside model_definition.dart")
// class ModelDefinition {
//   int id;
//   String assetName;
//   String modelDefCode;
//   String modelName;
//   String manufacturerName;
//   String supplierName;
//   String replacementDate;
//   int lifeSpan;
//
//   ModelDefinition({
//     this.id,
//     this.assetName,
//     this.modelDefCode,
//     this.modelName,
//     this.manufacturerName,
//     this.supplierName,
//     this.replacementDate,
//     this.lifeSpan,
//   });
//
//   Map<String, dynamic> toJson() {
//     final Map<String, dynamic> data = <String, dynamic>{};
//     data['id'] = id;
//     data['assetName'] = assetName;
//     data['modelDefCode'] = modelDefCode;
//     data['modelName'] = modelName;
//     data['manufacturerName'] = manufacturerName;
//     data['supplierName'] = supplierName;
//     data['replacementDate'] = replacementDate;
//     data['lifeSpan'] = lifeSpan;
//     return data;
//   }
//
//   factory ModelDefinition.fromJson(Map<String, dynamic> map) {
//     if (map == null) return null;
//     return ModelDefinition(
//       id: map['id'] as int,
//       assetName: map['assetName'] as String,
//       modelDefCode: map['modelDefCode'] as String,
//       modelName: map['modelName'] as String,
//       manufacturerName: map['manufacturerName'] as String,
//       supplierName: map['supplierName'] as String,
//       replacementDate: map['replacementDate'] as String,
//       lifeSpan: map['lifeSpan'] as int,
//     );
//   }
// }
