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.
55 lines
1.3 KiB
55 lines
1.3 KiB
import 'package:json_annotation/json_annotation.dart'; |
|
|
|
/// 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_goods.g.dart'; |
|
|
|
|
|
@JsonSerializable() |
|
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 couponId; |
|
bool canPick; |
|
bool canDelivery; |
|
String goodsMainImg; |
|
String goodsViceImg; |
|
int goodsNumber; |
|
int isDelete; |
|
|
|
|
|
factory ExchangeOrderGoods.fromJson(Map<String, dynamic> json) => |
|
_$ExchangeOrderGoodsFromJson(json); |
|
Map<String, dynamic> toJson() => _$ExchangeOrderGoodsToJson(this); |
|
|
|
|
|
} |