|
|
|
|
|
|
|
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<String, dynamic> json) =>
|
|
|
|
ExchangeOrderGoods()
|
|
|
|
..id = json['id'] as String
|
|
|
|
..createTime = json['createTime'] as String
|
|
|
|
..createUser = json['createUser'] as String
|
|
|
|
..updateTime = json['updateTime'] as String
|
|
|
|
..updateUser = json['updateUser'] as String
|
|
|
|
..orderId = json['orderId'] as String
|
|
|
|
..goodsId = json['goodsId'] as String
|
|
|
|
..categoryId = json['categoryId'] as String
|
|
|
|
..name = json['name'] as String
|
|
|
|
..description = json['description'] as String
|
|
|
|
..worth = json['worth'] as String
|
|
|
|
..price = json['price'] as String
|
|
|
|
..money = json['money'] as String
|
|
|
|
..couponId = json['couponId'] as String
|
|
|
|
..canPick = json['canPick'] as bool
|
|
|
|
..canDelivery = json['canDelivery'] as bool
|
|
|
|
..goodsMainImg = json['goodsMainImg'] as String
|
|
|
|
..goodsViceImg = json['goodsViceImg'] as String
|
|
|
|
..goodsNumber = json['goodsNumber'] as int
|
|
|
|
..isDelete = json['isDelete'] as int;
|
|
|
|
|
|
|
|
Map<String, dynamic> toJson() => <String, dynamic>{
|
|
|
|
'id': this.id,
|
|
|
|
'createTime': this.createTime,
|
|
|
|
'createUser': this.createUser,
|
|
|
|
'updateTime': this.updateTime,
|
|
|
|
'updateUser': this.updateUser,
|
|
|
|
'orderId': this.orderId,
|
|
|
|
'goodsId': this.goodsId,
|
|
|
|
'categoryId': this.categoryId,
|
|
|
|
'name': this.name,
|
|
|
|
'description': this.description,
|
|
|
|
'worth': this.worth,
|
|
|
|
'price': this.price,
|
|
|
|
'money': this.money,
|
|
|
|
'couponId': this.couponId,
|
|
|
|
'canPick': this.canPick,
|
|
|
|
'canDelivery': this.canDelivery,
|
|
|
|
'goodsMainImg': this.goodsMainImg,
|
|
|
|
'goodsViceImg': this.goodsViceImg,
|
|
|
|
'goodsNumber': this.goodsNumber,
|
|
|
|
'isDelete': this.isDelete,
|
|
|
|
};
|
|
|
|
}
|