/// member : {"masterId":"0","masterCardRankName":null,"vipNo":"1379254113602109440","nickname":"哈哈哈","headimg":"https://pos.upload.lotus-wallet.com/admin/2021/08/1f8d55ed-85d2-42a2-b155-6737a66226e8.jpg","userType":true,"sex":"0","level":1,"addressId":"0","remark":"","phone":"13052919193","createTime":"2021-04-06 10:06:21","birth":"1998-09-17","balance":null,"money":"31.12","activityMoney":"0.00","greenMoney":"4872.00","expendAmount":"180.02","organic":0,"points":"741","isBind":true,"memberRankVo":{"id":"1462684050274648064","rankName":"白银会员","rankOrigin":69,"rankContent":"","rankImg":"https://pos.upload.lotus-wallet.com/MDAwMA==/2021/11/7453eb74-661e-42b7-b575-8accc00fcbf5.png","status":true,"nextId":"1462684471177248768","nextName":"黄金会员","nextOrigin":20000},"age":24,"inviteCode":"MFZPXU","inviteNumber":4,"todayInviteNumber":0,"signature":"","background":"https://pos.upload.gznl.top/admin/2022/03/dd0af83c-1f2b-4217-bf0c-cdb7a809caca.jpeg","certification":null,"hasPayPassword":true,"isVip":false,"vipExpire":null,"isVipSubscribe":false,"vipDuration":33} /// cards : [{"id":"1579679485240803328","createTime":"2022-10-11 11:45:13","createUser":"1","updateTime":"2022-10-11 11:48:48","updateUser":"1","name":"888绿卡","duration":30,"price":"188.00","autoSubscribe":true,"isDelete":true},{"id":"1579731753377988608","createTime":"2022-10-11 15:12:55","createUser":"1","updateTime":"2022-10-11 15:12:55","updateUser":"1","name":"一分钱订阅","duration":90,"price":"0.01","autoSubscribe":true,"isDelete":true}] /// coupons : [] /// productVips : [{"id":"1580078947226353664","createTime":"2022-10-12 14:12:32","createUser":"1310841663890915328","updateTime":"2022-10-12 14:12:32","updateUser":"1310841663890915328","supplierName":"58","storeId":"1300372027722432512","categoryId":"1300687829071822848","groupId":"1307148205753892864","shortName":"会员商品原价100 会员价6","productName":"会员商品","sellDesc":"","productCode":"PRO202210121412320000000000001","weight":"0","applyPrice":"100.00","price":"101.00","vipPrice":"6.00","stock":882,"sellCount":6,"needLogistics":0,"oversold":1,"organic":0,"status":1,"posShow":true,"productType":0,"productNumber":1,"setMeal":1,"attrStyle":0,"detail":"","isDelete":0,"printerFlag":"DEFAULT","materials":null,"materialId":null,"details":"

1534

","thumbnailImg":"","info":"会员商品原价100 会员价6","buyCount":0,"sellCountLimit":0,"vipDiscount":"95.00"},{"id":"1578663655623360512","createTime":"2022-10-08 16:28:40","createUser":"1336877238389309440","updateTime":"2022-10-10 10:59:39","updateUser":"1336877238389309440","supplierName":"一杯奶茶","storeId":"1328618782985289728","categoryId":"1300688133322440704","groupId":"1391204546956492800","shortName":"一杯奶茶","productName":"一杯奶茶","sellDesc":"","productCode":"PRO202210081628400000000000001","weight":"0","applyPrice":"100.00","price":"61.00","vipPrice":"8.00","stock":-39,"sellCount":38,"needLogistics":0,"oversold":1,"organic":0,"status":1,"posShow":true,"productType":0,"productNumber":1,"setMeal":1,"attrStyle":0,"detail":"","isDelete":0,"printerFlag":"DEFAULT","materials":null,"materialId":null,"details":"

一杯奶茶

","thumbnailImg":"","info":"一杯奶茶","buyCount":-1,"sellCountLimit":0,"vipDiscount":"53.00"},{"id":"1567029160059076608","createTime":"2022-09-06 13:57:20","createUser":"1333246101196636160","updateTime":"2022-10-10 14:37:40","updateUser":"1333246101196636160","supplierName":"海峡姐妹茶","storeId":"1333246101343436800","categoryId":"1300688133322440704","groupId":"1524327158112059392","shortName":"使用茉莉雪芽为茶底,用自有农场有机洛神花熬制的洛神花汁,洛神花中含有丰富的蛋白质,维生素,氨基酸,花青素,可以排毒养颜,清热祛火,降压,搭配新鲜红石榴,入口石榴的清甜中带着微酸,尾段是茶香。","productName":"霸气红宝石","sellDesc":"","productCode":"PRO202209061357200000000000001","weight":"0","applyPrice":"23.00","price":"23.00","vipPrice":"10.00","stock":99905,"sellCount":67,"needLogistics":0,"oversold":1,"organic":0,"status":1,"posShow":true,"productType":0,"productNumber":1,"setMeal":1,"attrStyle":1,"detail":"","isDelete":0,"printerFlag":"DEFAULT","materials":null,"materialId":null,"details":"","thumbnailImg":"https://pos.upload.lotus-wallet.com/1175/2022/09/b3b773a3-ea3e-4696-bd89-eece441144f1.jpg","info":"","buyCount":-38,"sellCountLimit":0,"vipDiscount":"13.00"},{"id":"1557552263126319104","createTime":"2022-08-11 10:19:32","createUser":"1333246101196636160","updateTime":"2022-08-11 10:19:32","updateUser":"1333246101196636160","supplierName":"前进麦味烘焙","storeId":"1432164681279078400","categoryId":"1343391656220557312","groupId":"1535192671235080192","shortName":"减糖布丁塔壳,加入低温烘烤农场有机南瓜内陷和布丁液,甜而不腻。","productName":"南瓜布丁塔(2入装)","sellDesc":"","productCode":"PRO202208111019320000000000001","weight":"0","applyPrice":"12.00","price":"12.00","vipPrice":null,"stock":990,"sellCount":6,"needLogistics":1,"oversold":1,"organic":0,"status":1,"posShow":true,"productType":0,"productNumber":1,"setMeal":1,"attrStyle":0,"detail":"","isDelete":0,"printerFlag":"DEFAULT","materials":null,"materialId":null,"details":"","thumbnailImg":"https://pos.upload.lotus-wallet.com/1175/2022/08/8db6c09b-c403-4ae7-aa20-07843d292048.png","info":"","buyCount":-4,"sellCountLimit":0,"vipDiscount":"0.00"},{"id":"1555068186037059584","createTime":"2022-08-04 13:48:42","createUser":"1509798398956404736","updateTime":"2022-08-04 14:19:46","updateUser":"1509798398956404736","supplierName":"海峡姐妹","storeId":"1511895265261387776","categoryId":"1460889654206136320","groupId":"1555011116692668416","shortName":"分销","productName":"SIS小酒馆精致单人套餐","sellDesc":"","productCode":"PRO202208041348410000000000001","weight":"0","applyPrice":"118.00","price":"118.00","vipPrice":null,"stock":998,"sellCount":2,"needLogistics":1,"oversold":1,"organic":0,"status":1,"posShow":true,"productType":0,"productNumber":1,"setMeal":1,"attrStyle":0,"detail":"","isDelete":0,"printerFlag":"DEFAULT","materials":null,"materialId":null,"details":"

1.饮品任选一桶(含啤酒,1.5L装).
2.精选冷卤味时令拼盘一份.
3.精选小吃拼盘一份.

","thumbnailImg":"","info":"","buyCount":0,"sellCountLimit":0,"vipDiscount":"0.00"},{"id":"1555070675176128512","createTime":"2022-08-04 13:58:35","createUser":"1509798398956404736","updateTime":"2022-08-15 17:27:07","updateUser":"1509798398956404736","supplierName":"海峡姐妹","storeId":"1511895265261387776","categoryId":"1460889654206136320","groupId":"1555011116692668416","shortName":"分销","productName":"家庭游玩套餐一","sellDesc":"","productCode":"PRO202208041358350000000000003","weight":"0","applyPrice":"318.00","price":"318.00","vipPrice":null,"stock":999,"sellCount":1,"needLogistics":1,"oversold":1,"organic":0,"status":1,"posShow":true,"productType":0,"productNumber":1,"setMeal":1,"attrStyle":0,"detail":"","isDelete":0,"printerFlag":"DEFAULT","materials":null,"materialId":null,"details":"

① 饮品任选4杯(含啤酒).
② 小吃任选4份.
③ 特色冰棒4根.
④ 小酒馆体验票2张
⑤ 玩具兑换券1张(水枪/飞盘二选一

","thumbnailImg":"","info":"","buyCount":0,"sellCountLimit":0,"vipDiscount":"0.00"},{"id":"1555071062826287104","createTime":"2022-08-04 14:00:08","createUser":"1509798398956404736","updateTime":"2022-08-04 14:19:23","updateUser":"1509798398956404736","supplierName":"海峡姐妹","storeId":"1511895265261387776","categoryId":"1460889654206136320","groupId":"1555011116692668416","shortName":"分销","productName":"家庭游玩套餐二","sellDesc":"","productCode":"PRO202208041400070000000000001","weight":"0","applyPrice":"128.00","price":"128.00","vipPrice":null,"stock":998,"sellCount":2,"needLogistics":1,"oversold":1,"organic":0,"status":1,"posShow":true,"productType":0,"productNumber":1,"setMeal":1,"attrStyle":0,"detail":"","isDelete":0,"printerFlag":"DEFAULT","materials":null,"materialId":null,"details":"

1.提供小帐篷一顶,全家不限时使用.
2.园区内餐车在售饮品任选两杯(含啤酒).
3.台湾小吃街摊位在售小吃任选一份.
4.古桑园特色桑椹冰棍两根.

","thumbnailImg":"","info":"","buyCount":0,"sellCountLimit":0,"vipDiscount":"0.00"},{"id":"1555071811366944768","createTime":"2022-08-04 14:03:06","createUser":"1509798398956404736","updateTime":"2022-08-15 17:27:55","updateUser":"1509798398956404736","supplierName":"海峡姐妹","storeId":"1511895265261387776","categoryId":"1460889654206136320","groupId":"1555011116692668416","shortName":"分销","productName":"一家三口.家庭套餐一 (儿童1.2m以下)","sellDesc":"","productCode":"PRO202208041403060000000000001","weight":"0","applyPrice":"80.00","price":"80.00","vipPrice":null,"stock":998,"sellCount":3,"needLogistics":1,"oversold":1,"organic":0,"status":1,"posShow":true,"productType":0,"productNumber":1,"setMeal":1,"attrStyle":0,"detail":"","isDelete":0,"printerFlag":"DEFAULT","materials":null,"materialId":null,"details":"

园区大门

\n

1.成人公园门票两张.
2.儿童身高1.2米以下免票一张.

\n

儿童水上乐园

\n

1.儿童水上乐园,一名儿童不限时畅玩.

","thumbnailImg":"","info":"","buyCount":0,"sellCountLimit":0,"vipDiscount":"0.00"},{"id":"1555072466726944768","createTime":"2022-08-04 14:05:43","createUser":"1509798398956404736","updateTime":"2022-08-15 17:28:22","updateUser":"1509798398956404736","supplierName":"海峡姐妹","storeId":"1511895265261387776","categoryId":"1460889654206136320","groupId":"1555011116692668416","shortName":"分销","productName":"一家三口.家庭套餐二 (儿童1.2m以上)","sellDesc":"","productCode":"PRO202208041405420000000000003","weight":"0","applyPrice":"120.00","price":"120.00","vipPrice":null,"stock":999,"sellCount":1,"needLogistics":1,"oversold":1,"organic":0,"status":1,"posShow":true,"productType":0,"productNumber":1,"setMeal":1,"attrStyle":0,"detail":"","isDelete":0,"printerFlag":"DEFAULT","materials":null,"materialId":null,"details":"

园区大门

\n

1.成人公园门票两张.
2.儿童身高1.2米以上门票一张.

\n

儿童水上乐园

\n

1.儿童水上乐园,一名儿童不限时畅玩.

","thumbnailImg":"","info":"","buyCount":0,"sellCountLimit":0,"vipDiscount":"0.00"},{"id":"1555072974883651584","createTime":"2022-08-04 14:07:44","createUser":"1509798398956404736","updateTime":"2022-08-15 17:28:47","updateUser":"1509798398956404736","supplierName":"海峡姐妹","storeId":"1511895265261387776","categoryId":"1460889654206136320","groupId":"1555011116692668416","shortName":"分销","productName":"一家三口.家庭套餐三 (儿童1.2m以上)","sellDesc":"","productCode":"PRO202208041407430000000000001","weight":"0","applyPrice":"258.00","price":"258.00","vipPrice":null,"stock":994,"sellCount":6,"needLogistics":1,"oversold":1,"organic":0,"status":1,"posShow":true,"productType":0,"productNumber":1,"setMeal":1,"attrStyle":0,"detail":"","isDelete":0,"printerFlag":"DEFAULT","materials":null,"materialId":null,"details":"

园区大门

\n

1.成人公园门票两张.
2.儿童身高1.2米以上门票一张.

\n

三角帐篷/水上乐园

\n

1.提供三角帐篷一顶,全家不限时使用.
2.儿童水上乐园,一名儿童不限时畅玩.
3.古桑园特色桑椹冰棍两根.
4.园区内餐车在售饮品任选两杯+回乡精酿啤酒一杯.
5.台湾小吃街摊位在售小吃任选一份.

","thumbnailImg":"","info":"","buyCount":0,"sellCountLimit":0,"vipDiscount":"0.00"},{"id":"1555075594444603392","createTime":"2022-08-04 14:18:08","createUser":"1509798398956404736","updateTime":"2022-08-04 14:18:08","updateUser":"1509798398956404736","supplierName":"海峡姐妹","storeId":"1511895265261387776","categoryId":"1460889654206136320","groupId":"1555011116692668416","shortName":"分销","productName":"小酒馆体验券","sellDesc":"","productCode":"PRO202208041418080000000000001","weight":"0","applyPrice":"20.00","price":"20.00","vipPrice":null,"stock":991,"sellCount":9,"needLogistics":1,"oversold":1,"organic":0,"status":1,"posShow":true,"productType":0,"productNumber":1,"setMeal":1,"attrStyle":0,"detail":"","isDelete":0,"printerFlag":"DEFAULT","materials":null,"materialId":null,"details":"

小酒馆体验券

","thumbnailImg":"","info":"","buyCount":0,"sellCountLimit":0,"vipDiscount":"0.00"},{"id":"1555519619937075200","createTime":"2022-08-05 19:42:32","createUser":"1347839370706550784","updateTime":"2022-08-05 19:42:40","updateUser":"1347839370706550784","supplierName":"回乡农场火锅","storeId":"1347853925696405504","categoryId":"1300687829071822848","groupId":"1305419452992455656","shortName":"赠送","productName":"锅底赠送卷卷菜","sellDesc":"","productCode":"PRO202208051942320000000000001","weight":"0","applyPrice":"0.00","price":"0.00","vipPrice":null,"stock":0,"sellCount":0,"needLogistics":1,"oversold":1,"organic":0,"status":1,"posShow":false,"productType":0,"productNumber":1,"setMeal":1,"attrStyle":0,"detail":"","isDelete":1,"printerFlag":"DEFAULT","materials":null,"materialId":null,"details":"","thumbnailImg":"","info":"","buyCount":0,"sellCountLimit":0,"vipDiscount":"0.00"},{"id":"1557551663693168640","createTime":"2022-08-11 10:17:09","createUser":"1333246101196636160","updateTime":"2022-09-07 10:19:00","updateUser":"1333246101196636160","supplierName":"前进麦味烘焙","storeId":"1432164681279078400","categoryId":"1343391656220557312","groupId":"1433972467260456960","shortName":"低糖低油南瓜吐司面团,搭配纯天然农场有机南瓜和纯燕麦,南瓜低温烘烤保留营养元素,加入燕麦提升人体膳食纤维,更注重健康营养搭配","productName":"燕麦南瓜吐司","sellDesc":"","productCode":"PRO202208111017090000000000001","weight":"0","applyPrice":"18.00","price":"18.00","vipPrice":null,"stock":956,"sellCount":30,"needLogistics":1,"oversold":1,"organic":0,"status":1,"posShow":false,"productType":0,"productNumber":1,"setMeal":1,"attrStyle":0,"detail":"","isDelete":0,"printerFlag":"DEFAULT","materials":null,"materialId":null,"details":"","thumbnailImg":"https://pos.upload.lotus-wallet.com/1175/2022/08/2e0c14fd-2717-4812-a355-a24fbef9a78a.png","info":"","buyCount":-18,"sellCountLimit":0,"vipDiscount":"0.00"},{"id":"1561985460165672960","createTime":"2022-08-23 15:55:29","createUser":"1347820292432461824","updateTime":"2022-09-04 21:53:26","updateUser":"1347820292432461824","supplierName":"百年川椒","storeId":"1300372027722432512","categoryId":"1300687829071822848","groupId":"1318729689669304320","shortName":"3-4人餐","productName":"虎年暴富晚市套餐","sellDesc":"","productCode":"PRO202208231555280000000000001","weight":"0","applyPrice":"401.00","price":"401.00","vipPrice":null,"stock":-16,"sellCount":16,"needLogistics":0,"oversold":1,"organic":0,"status":1,"posShow":true,"productType":0,"productNumber":1,"setMeal":1,"attrStyle":0,"detail":"","isDelete":0,"printerFlag":"DEFAULT","materials":null,"materialId":null,"details":"","thumbnailImg":"","info":"","buyCount":0,"sellCountLimit":0,"vipDiscount":"0.00"},{"id":"1560106924941246464","createTime":"2022-08-18 11:30:51","createUser":"1347839370706550784","updateTime":"2022-09-19 19:24:09","updateUser":"1347839370706550784","supplierName":"央厨","storeId":"1347853925696405504","categoryId":"1300687829071822848","groupId":"1315891390147724264","shortName":"","productName":"农场南瓜饼","sellDesc":"","productCode":"PRO202208181130500000000000001","weight":"0","applyPrice":"12.00","price":"12.00","vipPrice":null,"stock":-18,"sellCount":15,"needLogistics":1,"oversold":1,"organic":0,"status":1,"posShow":true,"productType":0,"productNumber":1,"setMeal":1,"attrStyle":0,"detail":"","isDelete":0,"printerFlag":"DEFAULT","materials":null,"materialId":null,"details":"","thumbnailImg":"https://pos.upload.lotus-wallet.com/1178/2022/08/e6bbd456-b542-4cfd-ac21-996341756da8.jpg","info":"","buyCount":0,"sellCountLimit":0,"vipDiscount":"0.00"},{"id":"1560107415041474560","createTime":"2022-08-18 11:32:48","createUser":"1347839370706550784","updateTime":"2022-09-19 19:25:02","updateUser":"1347839370706550784","supplierName":"央厨","storeId":"1347853925696405504","categoryId":"1300687829071822848","groupId":"1315891390147724264","shortName":"","productName":"南瓜椰奶糕 ","sellDesc":"","productCode":"PRO202208181132470000000000001","weight":"0","applyPrice":"28.00","price":"28.00","vipPrice":null,"stock":-5,"sellCount":-7,"needLogistics":1,"oversold":1,"organic":0,"status":0,"posShow":false,"productType":0,"productNumber":1,"setMeal":1,"attrStyle":0,"detail":"","isDelete":0,"printerFlag":"DEFAULT","materials":null,"materialId":null,"details":"","thumbnailImg":"https://pos.upload.lotus-wallet.com/1178/2022/08/a27093c5-6774-441f-9347-6e1a0abd0b87.jpg","info":"","buyCount":0,"sellCountLimit":0,"vipDiscount":"0.00"}] class VipCardHome { VipCardHome({ Member member, List cards, List coupons, List productVips,}){ _member = member; _cards = cards; _coupons = coupons; _productVips = productVips; } VipCardHome.fromJson(dynamic json) { _member = json['member'] != null ? Member.fromJson(json['member']) : null; if (json['cards'] != null) { _cards = []; json['cards'].forEach((v) { _cards.add(Cards.fromJson(v)); }); } // if (json['coupons'] != null) { // _coupons = []; // json['coupons'].forEach((v) { // _coupons.add(Dynamic.fromJson(v)); // }); // } if (json['productVips'] != null) { _productVips = []; json['productVips'].forEach((v) { _productVips.add(ProductVips.fromJson(v)); }); } } Member _member; List _cards; List _coupons; List _productVips; VipCardHome copyWith({ Member member, List cards, List coupons, List productVips, }) => VipCardHome( member: member ?? _member, cards: cards ?? _cards, coupons: coupons ?? _coupons, productVips: productVips ?? _productVips, ); Member get member => _member; List get cards => _cards; List get coupons => _coupons; List get productVips => _productVips; Map toJson() { final map = {}; if (_member != null) { map['member'] = _member.toJson(); } if (_cards != null) { map['cards'] = _cards.map((v) => v.toJson()).toList(); } if (_coupons != null) { map['coupons'] = _coupons.map((v) => v.toJson()).toList(); } if (_productVips != null) { map['productVips'] = _productVips.map((v) => v.toJson()).toList(); } return map; } } /// id : "1580078947226353664" /// createTime : "2022-10-12 14:12:32" /// createUser : "1310841663890915328" /// updateTime : "2022-10-12 14:12:32" /// updateUser : "1310841663890915328" /// supplierName : "58" /// storeId : "1300372027722432512" /// categoryId : "1300687829071822848" /// groupId : "1307148205753892864" /// shortName : "会员商品原价100 会员价6" /// productName : "会员商品" /// sellDesc : "" /// productCode : "PRO202210121412320000000000001" /// weight : "0" /// applyPrice : "100.00" /// price : "101.00" /// vipPrice : "6.00" /// stock : 882 /// sellCount : 6 /// needLogistics : 0 /// oversold : 1 /// organic : 0 /// status : 1 /// posShow : true /// productType : 0 /// productNumber : 1 /// setMeal : 1 /// attrStyle : 0 /// detail : "" /// isDelete : 0 /// printerFlag : "DEFAULT" /// materials : null /// materialId : null /// details : "

1534

" /// thumbnailImg : "" /// info : "会员商品原价100 会员价6" /// buyCount : 0 /// sellCountLimit : 0 /// vipDiscount : "95.00" class ProductVips { ProductVips({ String id, String createTime, String createUser, String updateTime, String updateUser, String supplierName, String storeId, String categoryId, String groupId, String shortName, String productName, String sellDesc, String productCode, String weight, String applyPrice, String price, String vipPrice, num stock, num sellCount, num needLogistics, num oversold, num organic, num status, bool posShow, num productType, num productNumber, num setMeal, num attrStyle, String detail, num isDelete, String printerFlag, dynamic materials, dynamic materialId, String details, String thumbnailImg, String image, String info, num buyCount, num sellCountLimit, String vipDiscount, String tenantCode}){ _id = id; _createTime = createTime; _createUser = createUser; _updateTime = updateTime; _updateUser = updateUser; _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; _organic = organic; _status = status; _posShow = posShow; _productType = productType; _productNumber = productNumber; _setMeal = setMeal; _attrStyle = attrStyle; _detail = detail; _isDelete = isDelete; _printerFlag = printerFlag; _materials = materials; _materialId = materialId; _details = details; _thumbnailImg = thumbnailImg; _image = image; _info = info; _buyCount = buyCount; _sellCountLimit = sellCountLimit; _vipDiscount = vipDiscount; _tenantCode = tenantCode; } ProductVips.fromJson(dynamic json) { _id = json['id']; _createTime = json['createTime']; _createUser = json['createUser']; _updateTime = json['updateTime']; _updateUser = json['updateUser']; _supplierName = json['supplierName']; _storeId = json['storeId']; _categoryId = json['categoryId']; _groupId = json['groupId']; _shortName = json['shortName']; _productName = json['productName']; _sellDesc = json['sellDesc']; _productCode = json['productCode']; _weight = json['weight']; _applyPrice = json['applyPrice']; _price = json['price']; _vipPrice = json['vipPrice']; _stock = json['stock']; _sellCount = json['sellCount']; _needLogistics = json['needLogistics']; _oversold = json['oversold']; _organic = json['organic']; _status = json['status']; _posShow = json['posShow']; _productType = json['productType']; _productNumber = json['productNumber']; _setMeal = json['setMeal']; _attrStyle = json['attrStyle']; _detail = json['detail']; _isDelete = json['isDelete']; _printerFlag = json['printerFlag']; _materials = json['materials']; _materialId = json['materialId']; _details = json['details']; _thumbnailImg = json['thumbnailImg']; _image = json['image']; _info = json['info']; _buyCount = json['buyCount']; _sellCountLimit = json['sellCountLimit']; _vipDiscount = json['vipDiscount']; _tenantCode =json['tenantCode']; } String _id; String _createTime; String _createUser; String _updateTime; String _updateUser; String _supplierName; String _storeId; String _categoryId; String _groupId; String _shortName; String _productName; String _sellDesc; String _productCode; String _weight; String _applyPrice; String _price; String _vipPrice; num _stock; num _sellCount; num _needLogistics; num _oversold; num _organic; num _status; bool _posShow; num _productType; num _productNumber; num _setMeal; num _attrStyle; String _detail; num _isDelete; String _printerFlag; dynamic _materials; dynamic _materialId; String _details; String _thumbnailImg; String _image; String _info; num _buyCount; num _sellCountLimit; String _vipDiscount; String _tenantCode; ProductVips copyWith({ String id, String createTime, String createUser, String updateTime, String updateUser, String supplierName, String storeId, String categoryId, String groupId, String shortName, String productName, String sellDesc, String productCode, String weight, String applyPrice, String price, String vipPrice, num stock, num sellCount, num needLogistics, num oversold, num organic, num status, bool posShow, num productType, num productNumber, num setMeal, num attrStyle, String detail, num isDelete, String printerFlag, dynamic materials, dynamic materialId, String details, String thumbnailImg, String image, String info, num buyCount, num sellCountLimit, String vipDiscount, String tenantCode, }) => ProductVips( id: id ?? _id, createTime: createTime ?? _createTime, createUser: createUser ?? _createUser, updateTime: updateTime ?? _updateTime, updateUser: updateUser ?? _updateUser, supplierName: supplierName ?? _supplierName, storeId: storeId ?? _storeId, categoryId: categoryId ?? _categoryId, groupId: groupId ?? _groupId, shortName: shortName ?? _shortName, productName: productName ?? _productName, sellDesc: sellDesc ?? _sellDesc, productCode: productCode ?? _productCode, weight: weight ?? _weight, applyPrice: applyPrice ?? _applyPrice, price: price ?? _price, vipPrice: vipPrice ?? _vipPrice, stock: stock ?? _stock, sellCount: sellCount ?? _sellCount, needLogistics: needLogistics ?? _needLogistics, oversold: oversold ?? _oversold, organic: organic ?? _organic, status: status ?? _status, posShow: posShow ?? _posShow, productType: productType ?? _productType, productNumber: productNumber ?? _productNumber, setMeal: setMeal ?? _setMeal, attrStyle: attrStyle ?? _attrStyle, detail: detail ?? _detail, isDelete: isDelete ?? _isDelete, printerFlag: printerFlag ?? _printerFlag, materials: materials ?? _materials, materialId: materialId ?? _materialId, details: details ?? _details, thumbnailImg: thumbnailImg ?? _thumbnailImg, image:image ?? _image, info: info ?? _info, buyCount: buyCount ?? _buyCount, sellCountLimit: sellCountLimit ?? _sellCountLimit, vipDiscount: vipDiscount ?? _vipDiscount, tenantCode:tenantCode ?? _tenantCode, ); String get id => _id; String get createTime => _createTime; String get createUser => _createUser; String get updateTime => _updateTime; String get updateUser => _updateUser; String get supplierName => _supplierName; String get storeId => _storeId; String get categoryId => _categoryId; String get groupId => _groupId; String get shortName => _shortName; String get productName => _productName; String get sellDesc => _sellDesc; String get productCode => _productCode; String get weight => _weight; String get applyPrice => _applyPrice; String get price => _price; String get vipPrice => _vipPrice; num get stock => _stock; num get sellCount => _sellCount; num get needLogistics => _needLogistics; num get oversold => _oversold; num get organic => _organic; num get status => _status; bool get posShow => _posShow; num get productType => _productType; num get productNumber => _productNumber; num get setMeal => _setMeal; num get attrStyle => _attrStyle; String get detail => _detail; num get isDelete => _isDelete; String get printerFlag => _printerFlag; dynamic get materials => _materials; dynamic get materialId => _materialId; String get details => _details; String get thumbnailImg => _thumbnailImg; String get image => _image; String get info => _info; num get buyCount => _buyCount; num get sellCountLimit => _sellCountLimit; String get vipDiscount => _vipDiscount; String get tenantCode => _tenantCode; Map toJson() { final map = {}; map['id'] = _id; map['createTime'] = _createTime; map['createUser'] = _createUser; map['updateTime'] = _updateTime; map['updateUser'] = _updateUser; map['supplierName'] = _supplierName; map['storeId'] = _storeId; map['categoryId'] = _categoryId; map['groupId'] = _groupId; map['shortName'] = _shortName; map['productName'] = _productName; map['sellDesc'] = _sellDesc; map['productCode'] = _productCode; map['weight'] = _weight; map['applyPrice'] = _applyPrice; map['price'] = _price; map['vipPrice'] = _vipPrice; map['stock'] = _stock; map['sellCount'] = _sellCount; map['needLogistics'] = _needLogistics; map['oversold'] = _oversold; map['organic'] = _organic; map['status'] = _status; map['posShow'] = _posShow; map['productType'] = _productType; map['productNumber'] = _productNumber; map['setMeal'] = _setMeal; map['attrStyle'] = _attrStyle; map['detail'] = _detail; map['isDelete'] = _isDelete; map['printerFlag'] = _printerFlag; map['materials'] = _materials; map['materialId'] = _materialId; map['details'] = _details; map['thumbnailImg'] = _thumbnailImg; map['image'] = _image; map['info'] = _info; map['buyCount'] = _buyCount; map['sellCountLimit'] = _sellCountLimit; map['vipDiscount'] = _vipDiscount; map['tenantCode'] = _tenantCode; return map; } } /// id : "1579679485240803328" /// createTime : "2022-10-11 11:45:13" /// createUser : "1" /// updateTime : "2022-10-11 11:48:48" /// updateUser : "1" /// name : "888绿卡" /// duration : 30 /// price : "188.00" /// autoSubscribe : true /// isDelete : true class Cards { Cards({ String id, String createTime, String createUser, String updateTime, String updateUser, String name, num duration, String price, bool autoSubscribe, bool isDelete,}){ _id = id; _createTime = createTime; _createUser = createUser; _updateTime = updateTime; _updateUser = updateUser; _name = name; _duration = duration; _price = price; _autoSubscribe = autoSubscribe; _isDelete = isDelete; } Cards.fromJson(dynamic json) { _id = json['id']; _createTime = json['createTime']; _createUser = json['createUser']; _updateTime = json['updateTime']; _updateUser = json['updateUser']; _name = json['name']; _duration = json['duration']; _price = json['price']; _autoSubscribe = json['autoSubscribe']; _isDelete = json['isDelete']; } String _id; String _createTime; String _createUser; String _updateTime; String _updateUser; String _name; num _duration; String _price; bool _autoSubscribe; bool _isDelete; Cards copyWith({ String id, String createTime, String createUser, String updateTime, String updateUser, String name, num duration, String price, bool autoSubscribe, bool isDelete, }) => Cards( id: id ?? _id, createTime: createTime ?? _createTime, createUser: createUser ?? _createUser, updateTime: updateTime ?? _updateTime, updateUser: updateUser ?? _updateUser, name: name ?? _name, duration: duration ?? _duration, price: price ?? _price, autoSubscribe: autoSubscribe ?? _autoSubscribe, isDelete: isDelete ?? _isDelete, ); String get id => _id; String get createTime => _createTime; String get createUser => _createUser; String get updateTime => _updateTime; String get updateUser => _updateUser; String get name => _name; num get duration => _duration; String get price => _price; bool get autoSubscribe => _autoSubscribe; bool get isDelete => _isDelete; Map toJson() { final map = {}; map['id'] = _id; map['createTime'] = _createTime; map['createUser'] = _createUser; map['updateTime'] = _updateTime; map['updateUser'] = _updateUser; map['name'] = _name; map['duration'] = _duration; map['price'] = _price; map['autoSubscribe'] = _autoSubscribe; map['isDelete'] = _isDelete; return map; } } /// masterId : "0" /// masterCardRankName : null /// vipNo : "1379254113602109440" /// nickname : "哈哈哈" /// headimg : "https://pos.upload.lotus-wallet.com/admin/2021/08/1f8d55ed-85d2-42a2-b155-6737a66226e8.jpg" /// userType : true /// sex : "0" /// level : 1 /// addressId : "0" /// remark : "" /// phone : "13052919193" /// createTime : "2021-04-06 10:06:21" /// birth : "1998-09-17" /// balance : null /// money : "31.12" /// activityMoney : "0.00" /// greenMoney : "4872.00" /// expendAmount : "180.02" /// organic : 0 /// points : "741" /// isBind : true /// memberRankVo : {"id":"1462684050274648064","rankName":"白银会员","rankOrigin":69,"rankContent":"","rankImg":"https://pos.upload.lotus-wallet.com/MDAwMA==/2021/11/7453eb74-661e-42b7-b575-8accc00fcbf5.png","status":true,"nextId":"1462684471177248768","nextName":"黄金会员","nextOrigin":20000} /// age : 24 /// inviteCode : "MFZPXU" /// inviteNumber : 4 /// todayInviteNumber : 0 /// signature : "" /// background : "https://pos.upload.gznl.top/admin/2022/03/dd0af83c-1f2b-4217-bf0c-cdb7a809caca.jpeg" /// certification : null /// hasPayPassword : true /// isVip : false /// vipExpire : null /// isVipSubscribe : false /// vipDuration : 33 class Member { Member({ String masterId, dynamic masterCardRankName, String vipNo, String nickname, String headimg, bool userType, String sex, num level, String addressId, String remark, String phone, String createTime, String birth, dynamic balance, String money, String activityMoney, String greenMoney, String expendAmount, num organic, String points, bool isBind, MemberRankVo memberRankVo, num age, String inviteCode, num inviteNumber, num todayInviteNumber, String signature, String background, dynamic certification, bool hasPayPassword, bool isVip, dynamic vipExpire, bool isVipSubscribe, num vipDuration,}){ _masterId = masterId; _masterCardRankName = masterCardRankName; _vipNo = vipNo; _nickname = nickname; _headimg = headimg; _userType = userType; _sex = sex; _level = level; _addressId = addressId; _remark = remark; _phone = phone; _createTime = createTime; _birth = birth; _balance = balance; _money = money; _activityMoney = activityMoney; _greenMoney = greenMoney; _expendAmount = expendAmount; _organic = organic; _points = points; _isBind = isBind; _memberRankVo = memberRankVo; _age = age; _inviteCode = inviteCode; _inviteNumber = inviteNumber; _todayInviteNumber = todayInviteNumber; _signature = signature; _background = background; _certification = certification; _hasPayPassword = hasPayPassword; _isVip = isVip; _vipExpire = vipExpire; _isVipSubscribe = isVipSubscribe; _vipDuration = vipDuration; } Member.fromJson(dynamic json) { _masterId = json['masterId']; _masterCardRankName = json['masterCardRankName']; _vipNo = json['vipNo']; _nickname = json['nickname']; _headimg = json['headimg']; _userType = json['userType']; _sex = json['sex']; _level = json['level']; _addressId = json['addressId']; _remark = json['remark']; _phone = json['phone']; _createTime = json['createTime']; _birth = json['birth']; _balance = json['balance']; _money = json['money']; _activityMoney = json['activityMoney']; _greenMoney = json['greenMoney']; _expendAmount = json['expendAmount']; _organic = json['organic']; _points = json['points']; _isBind = json['isBind']; _memberRankVo = json['memberRankVo'] != null ? MemberRankVo.fromJson(json['memberRankVo']) : null; _age = json['age']; _inviteCode = json['inviteCode']; _inviteNumber = json['inviteNumber']; _todayInviteNumber = json['todayInviteNumber']; _signature = json['signature']; _background = json['background']; _certification = json['certification']; _hasPayPassword = json['hasPayPassword']; _isVip = json['isVip']; _vipExpire = json['vipExpire']; _isVipSubscribe = json['isVipSubscribe']; _vipDuration = json['vipDuration']; } String _masterId; dynamic _masterCardRankName; String _vipNo; String _nickname; String _headimg; bool _userType; String _sex; num _level; String _addressId; String _remark; String _phone; String _createTime; String _birth; dynamic _balance; String _money; String _activityMoney; String _greenMoney; String _expendAmount; num _organic; String _points; bool _isBind; MemberRankVo _memberRankVo; num _age; String _inviteCode; num _inviteNumber; num _todayInviteNumber; String _signature; String _background; dynamic _certification; bool _hasPayPassword; bool _isVip; dynamic _vipExpire; bool _isVipSubscribe; num _vipDuration; Member copyWith({ String masterId, dynamic masterCardRankName, String vipNo, String nickname, String headimg, bool userType, String sex, num level, String addressId, String remark, String phone, String createTime, String birth, dynamic balance, String money, String activityMoney, String greenMoney, String expendAmount, num organic, String points, bool isBind, MemberRankVo memberRankVo, num age, String inviteCode, num inviteNumber, num todayInviteNumber, String signature, String background, dynamic certification, bool hasPayPassword, bool isVip, dynamic vipExpire, bool isVipSubscribe, num vipDuration, }) => Member( masterId: masterId ?? _masterId, masterCardRankName: masterCardRankName ?? _masterCardRankName, vipNo: vipNo ?? _vipNo, nickname: nickname ?? _nickname, headimg: headimg ?? _headimg, userType: userType ?? _userType, sex: sex ?? _sex, level: level ?? _level, addressId: addressId ?? _addressId, remark: remark ?? _remark, phone: phone ?? _phone, createTime: createTime ?? _createTime, birth: birth ?? _birth, balance: balance ?? _balance, money: money ?? _money, activityMoney: activityMoney ?? _activityMoney, greenMoney: greenMoney ?? _greenMoney, expendAmount: expendAmount ?? _expendAmount, organic: organic ?? _organic, points: points ?? _points, isBind: isBind ?? _isBind, memberRankVo: memberRankVo ?? _memberRankVo, age: age ?? _age, inviteCode: inviteCode ?? _inviteCode, inviteNumber: inviteNumber ?? _inviteNumber, todayInviteNumber: todayInviteNumber ?? _todayInviteNumber, signature: signature ?? _signature, background: background ?? _background, certification: certification ?? _certification, hasPayPassword: hasPayPassword ?? _hasPayPassword, isVip: isVip ?? _isVip, vipExpire: vipExpire ?? _vipExpire, isVipSubscribe: isVipSubscribe ?? _isVipSubscribe, vipDuration: vipDuration ?? _vipDuration, ); String get masterId => _masterId; dynamic get masterCardRankName => _masterCardRankName; String get vipNo => _vipNo; String get nickname => _nickname; String get headimg => _headimg; bool get userType => _userType; String get sex => _sex; num get level => _level; String get addressId => _addressId; String get remark => _remark; String get phone => _phone; String get createTime => _createTime; String get birth => _birth; dynamic get balance => _balance; String get money => _money; String get activityMoney => _activityMoney; String get greenMoney => _greenMoney; String get expendAmount => _expendAmount; num get organic => _organic; String get points => _points; bool get isBind => _isBind; MemberRankVo get memberRankVo => _memberRankVo; num get age => _age; String get inviteCode => _inviteCode; num get inviteNumber => _inviteNumber; num get todayInviteNumber => _todayInviteNumber; String get signature => _signature; String get background => _background; dynamic get certification => _certification; bool get hasPayPassword => _hasPayPassword; bool get isVip => _isVip; dynamic get vipExpire => _vipExpire; bool get isVipSubscribe => _isVipSubscribe; num get vipDuration => _vipDuration; Map toJson() { final map = {}; map['masterId'] = _masterId; map['masterCardRankName'] = _masterCardRankName; map['vipNo'] = _vipNo; map['nickname'] = _nickname; map['headimg'] = _headimg; map['userType'] = _userType; map['sex'] = _sex; map['level'] = _level; map['addressId'] = _addressId; map['remark'] = _remark; map['phone'] = _phone; map['createTime'] = _createTime; map['birth'] = _birth; map['balance'] = _balance; map['money'] = _money; map['activityMoney'] = _activityMoney; map['greenMoney'] = _greenMoney; map['expendAmount'] = _expendAmount; map['organic'] = _organic; map['points'] = _points; map['isBind'] = _isBind; if (_memberRankVo != null) { map['memberRankVo'] = _memberRankVo.toJson(); } map['age'] = _age; map['inviteCode'] = _inviteCode; map['inviteNumber'] = _inviteNumber; map['todayInviteNumber'] = _todayInviteNumber; map['signature'] = _signature; map['background'] = _background; map['certification'] = _certification; map['hasPayPassword'] = _hasPayPassword; map['isVip'] = _isVip; map['vipExpire'] = _vipExpire; map['isVipSubscribe'] = _isVipSubscribe; map['vipDuration'] = _vipDuration; return map; } } /// id : "1462684050274648064" /// rankName : "白银会员" /// rankOrigin : 69 /// rankContent : "" /// rankImg : "https://pos.upload.lotus-wallet.com/MDAwMA==/2021/11/7453eb74-661e-42b7-b575-8accc00fcbf5.png" /// status : true /// nextId : "1462684471177248768" /// nextName : "黄金会员" /// nextOrigin : 20000 class MemberRankVo { MemberRankVo({ String id, String rankName, num rankOrigin, String rankContent, String rankImg, bool status, String nextId, String nextName, num nextOrigin,}){ _id = id; _rankName = rankName; _rankOrigin = rankOrigin; _rankContent = rankContent; _rankImg = rankImg; _status = status; _nextId = nextId; _nextName = nextName; _nextOrigin = nextOrigin; } MemberRankVo.fromJson(dynamic json) { _id = json['id']; _rankName = json['rankName']; _rankOrigin = json['rankOrigin']; _rankContent = json['rankContent']; _rankImg = json['rankImg']; _status = json['status']; _nextId = json['nextId']; _nextName = json['nextName']; _nextOrigin = json['nextOrigin']; } String _id; String _rankName; num _rankOrigin; String _rankContent; String _rankImg; bool _status; String _nextId; String _nextName; num _nextOrigin; MemberRankVo copyWith({ String id, String rankName, num rankOrigin, String rankContent, String rankImg, bool status, String nextId, String nextName, num nextOrigin, }) => MemberRankVo( id: id ?? _id, rankName: rankName ?? _rankName, rankOrigin: rankOrigin ?? _rankOrigin, rankContent: rankContent ?? _rankContent, rankImg: rankImg ?? _rankImg, status: status ?? _status, nextId: nextId ?? _nextId, nextName: nextName ?? _nextName, nextOrigin: nextOrigin ?? _nextOrigin, ); String get id => _id; String get rankName => _rankName; num get rankOrigin => _rankOrigin; String get rankContent => _rankContent; String get rankImg => _rankImg; bool get status => _status; String get nextId => _nextId; String get nextName => _nextName; num get nextOrigin => _nextOrigin; Map toJson() { final map = {}; map['id'] = _id; map['rankName'] = _rankName; map['rankOrigin'] = _rankOrigin; map['rankContent'] = _rankContent; map['rankImg'] = _rankImg; map['status'] = _status; map['nextId'] = _nextId; map['nextName'] = _nextName; map['nextOrigin'] = _nextOrigin; return map; } }