// GENERATED CODE - DO NOT MODIFY BY HAND part of 'act_product.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** ActProduct _$ActProductFromJson(Map json) => ActProduct() ..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? ..storeId = json['storeId'] as String? ..templateId = json['templateId'] as String? ..timeId = json['timeId'] as String? ..productId = json['productId'] as String? ..productName = json['productName'] as String? ..productImg = json['productImg'] as String? ..productPrice = json['productPrice'] as String? ..promotionPrice = json['promotionPrice'] as String? ..productStock = (json['productStock'] as num?)?.toInt() ..sellCount = (json['sellCount'] as num?)?.toInt() ..skuJson = (json['skuJson'] as List?) ?.map((e) => SkuJson.fromJson(e as Map)) .toList() ..isDelete = (json['isDelete'] as num?)?.toInt() ..shortName = json['shortName'] as String? ..supplierName = json['supplierName'] as String? ..detail = json['detail'] as String? ..details = json['details'] as String? ..rightImg = json['rightImg'] as String?; Map _$ActProductToJson(ActProduct instance) => { 'id': instance.id, 'createTime': instance.createTime, 'createUser': instance.createUser, 'updateTime': instance.updateTime, 'updateUser': instance.updateUser, 'storeId': instance.storeId, 'templateId': instance.templateId, 'timeId': instance.timeId, 'productId': instance.productId, 'productName': instance.productName, 'productImg': instance.productImg, 'productPrice': instance.productPrice, 'promotionPrice': instance.promotionPrice, 'productStock': instance.productStock, 'sellCount': instance.sellCount, 'skuJson': instance.skuJson?.map((e) => e.toJson()).toList(), 'isDelete': instance.isDelete, 'shortName': instance.shortName, 'supplierName': instance.supplierName, 'detail': instance.detail, 'details': instance.details, 'rightImg': instance.rightImg, };