You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
1.6 KiB
42 lines
1.6 KiB
4 years ago
|
import 'package:huixiang/retrofit/data/exchange_order_goods.dart';
|
||
|
import 'package:json_annotation/json_annotation.dart';
|
||
|
|
||
|
/// id : "1408693824171016192"
|
||
|
/// createTime : "2021-06-26 15:49:15"
|
||
|
/// createUser : "1405494095400402944"
|
||
|
/// updateTime : "2021-06-26 15:49:15"
|
||
|
/// updateUser : "1405494095400402944"
|
||
|
/// storeId : "1174"
|
||
|
/// mid : "1405494095400402944"
|
||
|
/// orderCode : "JF202106261549141"
|
||
|
/// amount : "77"
|
||
|
/// state : 1
|
||
|
/// useTyped : 1
|
||
|
/// isDelete : 0
|
||
|
/// creditOrderDetailList : [{"id":"1408693824410091520","createTime":"2021-06-26 15:49:15","createUser":"1405494095400402944","updateTime":"2021-06-26 15:49:15","updateUser":"1405494095400402944","orderId":"1408693824171016192","goodsId":"1","categoryId":"1","name":"包包包1111","description":"包治百病","worth":"999.00","price":"77","couponId":"0","canPick":true,"canDelivery":false,"goodsMainImg":"https://pos.upload.gznl.top/0000/2020/10/e59fecd9-4533-463b-bef3-59f02b74e58f.jpg","goodsViceImg":"https://pos.upload.gznl.top/0000/2020/10/9c7beb43-9758-44d3-9cde-e09f979faeab.jpg","goodsNumber":1,"isDelete":0}]
|
||
|
|
||
|
part 'exchange_order.g.dart';
|
||
|
|
||
|
@JsonSerializable()
|
||
|
class ExchangeOrder {
|
||
|
ExchangeOrder();
|
||
|
String id;
|
||
|
String createTime;
|
||
|
String createUser;
|
||
|
String updateTime;
|
||
|
String updateUser;
|
||
|
String storeId;
|
||
|
String mid;
|
||
|
String orderCode;
|
||
|
String amount;
|
||
|
int state;
|
||
|
int useTyped;
|
||
|
int isDelete;
|
||
|
List<ExchangeOrderGoods> creditOrderDetailList;
|
||
|
|
||
|
factory ExchangeOrder.fromJson(Map<String, dynamic> json) =>
|
||
|
_$ExchangeOrderFromJson(json);
|
||
|
Map<String, dynamic> toJson() => _$ExchangeOrderToJson(this);
|
||
|
|
||
|
}
|