You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
62 lines
2.4 KiB
62 lines
2.4 KiB
1 month ago
|
// GENERATED CODE - DO NOT MODIFY BY HAND
|
||
|
|
||
|
part of 'product.dart';
|
||
|
|
||
|
// **************************************************************************
|
||
|
// JsonSerializableGenerator
|
||
|
// **************************************************************************
|
||
|
|
||
|
Product _$ProductFromJson(Map<String, dynamic> json) => Product(
|
||
|
id: json['id'] as String?,
|
||
|
createTime: json['createTime'] as String?,
|
||
|
createUser: json['createUser'] as String?,
|
||
|
updateTime: json['updateTime'] as String?,
|
||
|
updateUser: json['updateUser'] as String?,
|
||
|
tenantCode: json['tenantCode'],
|
||
|
storeId: json['storeId'] as String?,
|
||
|
orderId: json['orderId'] as String?,
|
||
|
productId: json['productId'] as String?,
|
||
|
productName: json['productName'] as String?,
|
||
|
skuId: json['skuId'] as String?,
|
||
|
skuNameStr: json['skuNameStr'] as String?,
|
||
|
skuImg: json['skuImg'] as String?,
|
||
|
buyNum: (json['buyNum'] as num?)?.toInt(),
|
||
|
refundNum: (json['refundNum'] as num?)?.toInt(),
|
||
|
weight: (json['weight'] as num?)?.toDouble(),
|
||
|
applyPrice: json['applyPrice'] as String?,
|
||
|
sellPrice: json['sellPrice'] as String?,
|
||
|
postPay: json['postPay'] as String?,
|
||
|
isDelete: (json['isDelete'] as num?)?.toInt(),
|
||
|
discountAmount: json['discountAmount'] as String?,
|
||
|
discountPercent: (json['discountPercent'] as num?)?.toInt(),
|
||
|
status: json['status'] as bool?,
|
||
|
batch: (json['batch'] as num?)?.toInt(),
|
||
|
);
|
||
|
|
||
|
Map<String, dynamic> _$ProductToJson(Product instance) => <String, dynamic>{
|
||
|
'id': instance.id,
|
||
|
'createTime': instance.createTime,
|
||
|
'createUser': instance.createUser,
|
||
|
'updateTime': instance.updateTime,
|
||
|
'updateUser': instance.updateUser,
|
||
|
'tenantCode': instance.tenantCode,
|
||
|
'storeId': instance.storeId,
|
||
|
'orderId': instance.orderId,
|
||
|
'productId': instance.productId,
|
||
|
'productName': instance.productName,
|
||
|
'skuId': instance.skuId,
|
||
|
'skuNameStr': instance.skuNameStr,
|
||
|
'skuImg': instance.skuImg,
|
||
|
'buyNum': instance.buyNum,
|
||
|
'refundNum': instance.refundNum,
|
||
|
'weight': instance.weight,
|
||
|
'applyPrice': instance.applyPrice,
|
||
|
'sellPrice': instance.sellPrice,
|
||
|
'postPay': instance.postPay,
|
||
|
'isDelete': instance.isDelete,
|
||
|
'discountAmount': instance.discountAmount,
|
||
|
'discountPercent': instance.discountPercent,
|
||
|
'status': instance.status,
|
||
|
'batch': instance.batch,
|
||
|
};
|