import 'package:huixiang/data/mini_detail.dart'; import 'package:json_annotation/json_annotation.dart'; part 'good_list.g.dart'; @JsonSerializable(explicitToJson: true) class GoodList { String? productImg = ''; List? productSkuVOList = []; String? thumbnailImg = ''; String? tenantCode = ''; String? storeId = ''; String? productName = ''; bool? posShow = false; String? price = ''; int? sellCount = 0; String? details = ''; String? id = ''; String? applyPrice = ''; int? stock = 0; int? status = 0; String? info = ''; GoodList(); factory GoodList.fromJson(Map json) => _$GoodListFromJson(json); Map toJson() => _$GoodListToJson(this); }