import 'package:json_annotation/json_annotation.dart'; part 'exchange_order_goods.g.dart'; @JsonSerializable(explicitToJson: true) class ExchangeOrderGoods { ExchangeOrderGoods(); String? id; String? createTime; String? createUser; String? updateTime; String? updateUser; String? orderId; String? goodsId; String? categoryId; String? name; String? description; String? worth; String? price; String? money; String? couponId; bool? canPick; bool? canDelivery; String? goodsMainImg; String? goodsViceImg; int? goodsNumber; int? isDelete; factory ExchangeOrderGoods.fromJson(Map json) => _$ExchangeOrderGoodsFromJson(json); Map toJson() => _$ExchangeOrderGoodsToJson(this); }