import 'package:huixiang/data/exchange_order_goods.dart'; import 'package:json_annotation/json_annotation.dart'; part 'exchange_order.g.dart'; @JsonSerializable(explicitToJson: true) class ExchangeOrder { ExchangeOrder(); String? id; String? createTime; String? createUser; String? updateTime; String? updateUser; String? storeId; String? mid; String? orderCode; String? amount; String? money; int? payStatus; int? payType; int? sendStatus; String? address; String? storeName; String? recAddress; int? state; int? useTyped; int? isDelete; List? creditOrderDetailList; factory ExchangeOrder.fromJson(Map json) => _$ExchangeOrderFromJson(json); Map toJson() => _$ExchangeOrderToJson(this); }