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.
 
 
 
 
 
 

74 lines
1.7 KiB

import 'package:huixiang/data/subscribe_param.dart';
import 'package:huixiang/generated/json/base/json_field.dart';
import 'package:huixiang/generated/json/find_mini_group.g.dart';
import 'dart:convert';
export 'package:huixiang/generated/json/find_mini_group.g.dart';
@JsonSerializable()
class FindMiniGroup {
String? id = '';
String? storeId = '';
String? groupName = '';
String? groupImg = '';
int? sort = 0;
int? goodsIndex = 0;
int? height = 0;
List<ProductListBean>? productList = [];
dynamic productPageVO;
FindMiniGroup();
factory FindMiniGroup.fromJson(Map<String, dynamic> json) => $FindMiniGroupFromJson(json);
Map<String, dynamic> toJson() => $FindMiniGroupToJson(this);
@override
String toString() {
return jsonEncode(this);
}
}
@JsonSerializable()
class ProductListBean {
String? id = '';
String? supplierName = '';
String? storeId = '';
String? categoryId = '';
String? groupId = '';
String? shortName = '';
String? productName = '';
String? sellDesc = '';
String? productCode = '';
String? weight = '';
String? applyPrice = '';
String? price = '';
int? stock = 0;
int? sellCount = 0;
int? needLogistics = 0;
int? oversold = 0;
int? status = 0;
bool? posShow = false;
int? attrStyle = 0;
int? isDelete = 0;
dynamic productAttrValues;
dynamic skuList;
dynamic imgPathList;
int? buyNum = 0;
String? imgPath = '';
int? setMeal = 0;
String? printerFlag = '';
dynamic markProductNone;
SubscribeParam? subscribeParam;
bool? isSetMeal;
ProductListBean();
factory ProductListBean.fromJson(Map<String, dynamic> json) => $ProductListBeanFromJson(json);
Map<String, dynamic> toJson() => $ProductListBeanToJson(this);
@override
String toString() {
return jsonEncode(this);
}
}