diff --git a/frontend/mgramseva/lib/model/mdms/wc_billing_slab.g.dart b/frontend/mgramseva/lib/model/mdms/wc_billing_slab.g.dart new file mode 100644 index 000000000..2dd60e591 --- /dev/null +++ b/frontend/mgramseva/lib/model/mdms/wc_billing_slab.g.dart @@ -0,0 +1,41 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'wc_billing_slab.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +WCBillingSlab _$WCBillingSlabFromJson(Map json) => + WCBillingSlab() + ..id = json['id'] as String? + ..buildingType = json['buildingType'] as String? + ..connectionType = json['connectionType'] as String? + ..calculationAttribute = json['calculationAttribute'] as String? + ..minimumCharge = json['minimumCharge'] as String? + ..slabs = (json['slabs'] as List?) + ?.map((e) => Slabs.fromJson(e as Map)) + .toList(); + +Map _$WCBillingSlabToJson(WCBillingSlab instance) => + { + 'id': instance.id, + 'buildingType': instance.buildingType, + 'connectionType': instance.connectionType, + 'calculationAttribute': instance.calculationAttribute, + 'minimumCharge': instance.minimumCharge, + 'slabs': instance.slabs, + }; + +Slabs _$SlabsFromJson(Map json) => Slabs() + ..from = json['from'] as String? + ..to = json['to'] as String? + ..charge = json['charge'] as String? + ..meterCharge = json['meterCharge'] as String?; + +Map _$SlabsToJson(Slabs instance) => { + 'from': instance.from, + 'to': instance.to, + 'charge': instance.charge, + 'meterCharge': instance.meterCharge, + };