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.
35 lines
842 B
35 lines
842 B
import 'dart:convert'; |
|
|
|
import 'package:huixiang/data/mini_detail.dart'; |
|
import 'package:huixiang/generated/json/base/json_field.dart'; |
|
import 'package:huixiang/generated/json/good_list.g.dart'; |
|
|
|
@JsonSerializable() |
|
class GoodList { |
|
String? productImg = ''; |
|
List<ProductSkuVOList>? productSkuVOList = []; |
|
String? thumbnailImg = ''; |
|
String? tenantCode = ''; |
|
String? storeId = ''; |
|
String? productName = ''; |
|
bool? posShow = false; |
|
String? price = ''; |
|
int? sellCount = 0; |
|
String? details = ''; |
|
String? id = ''; |
|
String? applyPrice = ''; |
|
int? stock = 0; |
|
int? status = 0; |
|
String? info = ''; |
|
|
|
GoodList(); |
|
|
|
factory GoodList.fromJson(Map<String, dynamic> json) => $GoodListFromJson(json); |
|
|
|
Map<String, dynamic> toJson() => $GoodListToJson(this); |
|
|
|
@override |
|
String toString() { |
|
return jsonEncode(this); |
|
} |
|
}
|
|
|