/// id : "1435148069191548928" /// storeId : "1333246101343436800" /// groupName : "��Ʒ�人" /// groupImg : "https://pos.upload.gznl.top/1175/2021/09/c9abb054-4509-4f22-9671-6f712ab7e493.webp" /// sort : 0 /// productList : [{"id":"1440501052276211712","supplierName":"����","storeId":"1333246101343436800","categoryId":"1300688133322440704","groupId":"1435148069191548928","shortName":"����","productName":"֧������","sellDesc":"","productCode":"PRO202109221019480000000000001","weight":"0","applyPrice":"0.00","price":"0.01","stock":-48,"sellCount":48,"needLogistics":1,"oversold":1,"status":1,"posShow":true,"attrStyle":0,"isDelete":0,"productAttrValues":null,"skuList":null,"imgPathList":null,"buyNum":0,"imgPath":"https://pos.upload.gznl.top/1175/2021/09/ade72b41-23a2-4f29-ae50-4e620b7e9011.webp","setMeal":1,"printerFlag":"DEFAULT","markProductNone":null},{"id":"1435893909921202176","supplierName":"����","storeId":"1333246101343436800","categoryId":"1300688133322440704","groupId":"1435148069191548928","shortName":"����","productName":"������","sellDesc":"","productCode":"PRO202109091712400000000000003","weight":"0","applyPrice":"0.00","price":"9999.00","stock":-10,"sellCount":10,"needLogistics":1,"oversold":1,"status":1,"posShow":true,"attrStyle":0,"isDelete":0,"productAttrValues":null,"skuList":null,"imgPathList":null,"buyNum":0,"imgPath":"https://pos.upload.gznl.top/1175/2021/09/1d212bc1-b952-4aba-a870-8538009da680.webp","setMeal":1,"printerFlag":"DEFAULT","markProductNone":null},{"id":"1435781813317402624","supplierName":"��Ͽ����","storeId":"1333246101343436800","categoryId":"1300688133322440704","groupId":"1435148069191548928","shortName":"ƴ�̲���","productName":"ƴ�̲���(��ѡ��)","sellDesc":"","productCode":"PRO202109090947140000000000001","weight":"0","applyPrice":"0.00","price":"2.00","stock":-15,"sellCount":17,"needLogistics":1,"oversold":1,"status":1,"posShow":true,"attrStyle":0,"isDelete":0,"productAttrValues":null,"skuList":null,"imgPathList":null,"buyNum":0,"imgPath":"https://pos.upload.gznl.top/1175/2021/09/c1412e9a-2c5a-4658-9850-8dde8d1e9321.webp","setMeal":1,"printerFlag":"DEFAULT","markProductNone":null}] /// productPageVO : null class FindMiNiGroupList { String id; String storeId; String groupName; String groupImg; int sort; double goodsIndex = 0; double height = 0; List productList; dynamic productPageVO; static FindMiNiGroupList fromJson(Map map) { if (map == null) return null; FindMiNiGroupList findMiNiGroupListBean = FindMiNiGroupList(); findMiNiGroupListBean.id = map['id']; findMiNiGroupListBean.storeId = map['storeId']; findMiNiGroupListBean.groupName = map['groupName']; findMiNiGroupListBean.groupImg = map['groupImg']; findMiNiGroupListBean.sort = map['sort']; findMiNiGroupListBean.productList = []..addAll( (map['productList'] as List ?? []).map((o) => ProductListBean.fromJson(o)) ); findMiNiGroupListBean.productPageVO = map['productPageVO']; return findMiNiGroupListBean; } Map toJson() => { "id": id, "storeId": storeId, "groupName": groupName, "groupImg": groupImg, "sort": sort, "productList": productList, "productPageVO": productPageVO, }; } /// id : "1440501052276211712" /// supplierName : "����" /// storeId : "1333246101343436800" /// categoryId : "1300688133322440704" /// groupId : "1435148069191548928" /// shortName : "����" /// productName : "֧������" /// sellDesc : "" /// productCode : "PRO202109221019480000000000001" /// weight : "0" /// applyPrice : "0.00" /// price : "0.01" /// stock : -48 /// sellCount : 48 /// needLogistics : 1 /// oversold : 1 /// status : 1 /// posShow : true /// attrStyle : 0 /// isDelete : 0 /// productAttrValues : null /// skuList : null /// imgPathList : null /// buyNum : 0 /// imgPath : "https://pos.upload.gznl.top/1175/2021/09/ade72b41-23a2-4f29-ae50-4e620b7e9011.webp" /// setMeal : 1 /// printerFlag : "DEFAULT" /// markProductNone : null 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; String vipPrice; int stock; int sellCount; int needLogistics; int oversold; int status; bool posShow; int attrStyle; int isDelete; dynamic productAttrValues; dynamic skuList; dynamic imgPathList; int buyNum; String imgPath; int setMeal; String printerFlag; dynamic markProductNone; SubscribeParam subscribeParam; bool isSetMeal; static ProductListBean fromJson(Map map) { if (map == null) return null; ProductListBean productListBean = ProductListBean(); productListBean.id = map['id']; productListBean.supplierName = map['supplierName']; productListBean.storeId = map['storeId']; productListBean.categoryId = map['categoryId']; productListBean.groupId = map['groupId']; productListBean.shortName = map['shortName']; productListBean.productName = map['productName']; productListBean.sellDesc = map['sellDesc']; productListBean.productCode = map['productCode']; productListBean.weight = map['weight']; productListBean.applyPrice = map['applyPrice']; productListBean.price = map['price']; productListBean.vipPrice = map['vipPrice']; productListBean.stock = map['stock']; productListBean.sellCount = map['sellCount']; productListBean.needLogistics = map['needLogistics']; productListBean.oversold = map['oversold']; productListBean.status = map['status']; productListBean.posShow = map['posShow']; productListBean.attrStyle = map['attrStyle']; productListBean.isDelete = map['isDelete']; productListBean.productAttrValues = map['productAttrValues']; productListBean.skuList = map['skuList']; productListBean.imgPathList = map['imgPathList']; productListBean.buyNum = map['buyNum']; productListBean.imgPath = map['imgPath']; productListBean.setMeal = map['setMeal']; productListBean.printerFlag = map['printerFlag']; productListBean.markProductNone = map['markProductNone']; productListBean.subscribeParam = SubscribeParam.fromJson(map['subscribeParam']); productListBean.isSetMeal = map['isSetMeal']; return productListBean; } Map toJson() => { "id": id, "supplierName": supplierName, "storeId": storeId, "categoryId": categoryId, "groupId": groupId, "shortName": shortName, "productName": productName, "sellDesc": sellDesc, "productCode": productCode, "weight": weight, "applyPrice": applyPrice, "price": price, "vipPrice":vipPrice, "stock": stock, "sellCount": sellCount, "needLogistics": needLogistics, "oversold": oversold, "status": status, "posShow": posShow, "attrStyle": attrStyle, "isDelete": isDelete, "productAttrValues": productAttrValues, "skuList": skuList, "imgPathList": imgPathList, "buyNum": buyNum, "imgPath": imgPath, "setMeal": setMeal, "printerFlag": printerFlag, "markProductNone": markProductNone, "subscribeParam": subscribeParam, "isSetMeal": isSetMeal, }; } /// isEnableSubscribe : true /// dayOrDate : 3 /// startAfterDays : null /// daysValidate : null /// subscribeStartTime : "2023-04-20 00:00:00" /// subscribeEndTime : "2023-04-30 00:00:00" /// stores : ["海峡姐妹","前进麦味","百年川椒","小吃街"] class SubscribeParam { SubscribeParam({ bool isEnableSubscribe, num dayOrDate, dynamic startAfterDays, dynamic daysValidate, String subscribeStartTime, String subscribeEndTime, List stores,}) { _isEnableSubscribe = isEnableSubscribe; _dayOrDate = dayOrDate; _startAfterDays = startAfterDays; _daysValidate = daysValidate; _subscribeStartTime = subscribeStartTime; _subscribeEndTime = subscribeEndTime; _stores = stores; } SubscribeParam.fromJson(dynamic json) { if(json == null) return; _isEnableSubscribe = json['isEnableSubscribe']; _dayOrDate = json['dayOrDate']; _startAfterDays = json['startAfterDays']; _daysValidate = json['daysValidate']; _subscribeStartTime = json['subscribeStartTime']; _subscribeEndTime = json['subscribeEndTime']; _stores = json['stores'] != null ? json['stores'].cast() : []; } bool _isEnableSubscribe; num _dayOrDate; dynamic _startAfterDays; dynamic _daysValidate; String _subscribeStartTime; String _subscribeEndTime; List _stores; SubscribeParam copyWith({ bool isEnableSubscribe, num dayOrDate, dynamic startAfterDays, dynamic daysValidate, String subscribeStartTime, String subscribeEndTime, List stores, }) => SubscribeParam( isEnableSubscribe: isEnableSubscribe ?? _isEnableSubscribe, dayOrDate: dayOrDate ?? _dayOrDate, startAfterDays: startAfterDays ?? _startAfterDays, daysValidate: daysValidate ?? _daysValidate, subscribeStartTime: subscribeStartTime ?? _subscribeStartTime, subscribeEndTime: subscribeEndTime ?? _subscribeEndTime, stores: stores ?? _stores, ); bool get isEnableSubscribe => _isEnableSubscribe; num get dayOrDate => _dayOrDate; dynamic get startAfterDays => _startAfterDays; dynamic get daysValidate => _daysValidate; String get subscribeStartTime => _subscribeStartTime; String get subscribeEndTime => _subscribeEndTime; List get stores => _stores; Map toJson() { final map = {}; map['isEnableSubscribe'] = _isEnableSubscribe; map['dayOrDate'] = _dayOrDate; map['startAfterDays'] = _startAfterDays; map['daysValidate'] = _daysValidate; map['subscribeStartTime'] = _subscribeStartTime; map['subscribeEndTime'] = _subscribeEndTime; map['stores'] = _stores; return map; } }