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.
68 lines
1.5 KiB
68 lines
1.5 KiB
1 month ago
|
import 'package:huixiang/data/subscribe_param.dart';
|
||
|
import 'package:json_annotation/json_annotation.dart';
|
||
|
|
||
|
part 'find_mini_group.g.dart';
|
||
|
|
||
|
@JsonSerializable(explicitToJson: true)
|
||
|
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);
|
||
|
|
||
|
|
||
|
}
|
||
|
|
||
|
|
||
|
@JsonSerializable(explicitToJson: true)
|
||
|
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);
|
||
|
|
||
|
|
||
|
}
|