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.
|
|
|
import 'package:json_annotation/json_annotation.dart';
|
|
|
|
|
|
|
|
part 'set_meal_data.g.dart';
|
|
|
|
|
|
|
|
@JsonSerializable(explicitToJson: true)
|
|
|
|
class SetMealData {
|
|
|
|
String? groupName = '';
|
|
|
|
List<ProductInfoList>? productInfoList = [];
|
|
|
|
|
|
|
|
SetMealData();
|
|
|
|
|
|
|
|
factory SetMealData.fromJson(Map<String, dynamic> json) => _$SetMealDataFromJson(json);
|
|
|
|
|
|
|
|
Map<String, dynamic> toJson() => _$SetMealDataToJson(this);
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@JsonSerializable(explicitToJson: true)
|
|
|
|
class ProductInfoList {
|
|
|
|
String? skuId = '';
|
|
|
|
String? skuName = '';
|
|
|
|
int? buyNumber = 0;
|
|
|
|
String? productId = '';
|
|
|
|
dynamic sellPrice;
|
|
|
|
String? productName = '';
|
|
|
|
|
|
|
|
ProductInfoList();
|
|
|
|
|
|
|
|
factory ProductInfoList.fromJson(Map<String, dynamic> json) => _$ProductInfoListFromJson(json);
|
|
|
|
|
|
|
|
Map<String, dynamic> toJson() => _$ProductInfoListToJson(this);
|
|
|
|
|
|
|
|
|
|
|
|
}
|