import 'package:huixiang/data/sku_json.dart'; import 'package:json_annotation/json_annotation.dart'; part 'act_product.g.dart'; @JsonSerializable(explicitToJson: true) class ActProduct { String? id = ''; String? createTime = ''; String? createUser = ''; String? updateTime = ''; String? updateUser = ''; String? storeId = ''; String? templateId = ''; String? timeId = ''; String? productId = ''; String? productName = ''; String? productImg = ''; String? productPrice = ''; String? promotionPrice = ''; int? productStock = 0; int? sellCount = 0; List? skuJson = []; int? isDelete = 0; String? shortName = ''; String? supplierName = ''; String? detail = ''; String? details = ''; String? rightImg = ''; ActProduct(); factory ActProduct.fromJson(Map json) => _$ActProductFromJson(json); Map toJson() => _$ActProductToJson(this); }