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.
23 lines
485 B
23 lines
485 B
import 'package:huixiang/retrofit/data/goods.dart'; |
|
import 'package:json_annotation/json_annotation.dart'; |
|
|
|
part 'credit_goods.g.dart'; |
|
|
|
@JsonSerializable() |
|
class CreditGoods { |
|
|
|
CreditGoods(); |
|
|
|
bool hasNextPage; |
|
bool hasPreviousPage; |
|
List<Goods> list; |
|
int pageNum; |
|
int pageSize; |
|
int pages; |
|
int size; |
|
int total; |
|
|
|
factory CreditGoods.fromJson(Map<String, dynamic> json) => _$CreditGoodsFromJson(json); |
|
Map<String, dynamic> toJson() => _$CreditGoodsToJson(this); |
|
|
|
}
|
|
|