Initial draft
This commit is contained in:
34
lib/dto/article.g.dart
Normal file
34
lib/dto/article.g.dart
Normal file
@ -0,0 +1,34 @@
|
||||
// GENERATED CODE - DO NOT MODIFY BY HAND
|
||||
|
||||
part of 'article.dart';
|
||||
|
||||
// **************************************************************************
|
||||
// JsonSerializableGenerator
|
||||
// **************************************************************************
|
||||
|
||||
ArticleDTO _$ArticleDTOFromJson(Map<String, dynamic> json) => ArticleDTO(
|
||||
name: json['name'] as String,
|
||||
articleNr: json['article_nr'] as String,
|
||||
quantity: json['quantity'] as String,
|
||||
price: json['price'] as String,
|
||||
scannable: json['scannable'] as bool,
|
||||
internalId: json['internal_id'] as String,
|
||||
scannedRemovedAmount: json['scanned_removed_amount'] as String,
|
||||
scannedAmount: json['scanned_amount'] as String,
|
||||
removeNoteId: json['remove_note_id'] as String?,
|
||||
taxRate: json['tax_rate'] as String,
|
||||
);
|
||||
|
||||
Map<String, dynamic> _$ArticleDTOToJson(ArticleDTO instance) =>
|
||||
<String, dynamic>{
|
||||
'name': instance.name,
|
||||
'article_nr': instance.articleNr,
|
||||
'quantity': instance.quantity,
|
||||
'price': instance.price,
|
||||
'tax_rate': instance.taxRate,
|
||||
'internal_id': instance.internalId,
|
||||
'scanned_amount': instance.scannedAmount,
|
||||
'scanned_removed_amount': instance.scannedRemovedAmount,
|
||||
'remove_note_id': instance.removeNoteId,
|
||||
'scannable': instance.scannable,
|
||||
};
|
||||
Reference in New Issue
Block a user