import 'package:huixiang/generated/json/base/json_field.dart'; import 'package:huixiang/generated/json/phone_query_member_info.g.dart'; import 'dart:convert'; export 'package:huixiang/generated/json/phone_query_member_info.g.dart'; @JsonSerializable() class PhoneQueryMemberInfo { String? mid = ''; String? sid = ''; String? phoneNum = ''; String? nickName = ''; String? headimg = ''; String? sex = ''; String? balance = ''; String? realBalance = ''; String? giftBalance = ''; bool? memberSourceCredit = false; String? money = ''; bool? memberCredit = false; String? greenMoney = ''; String? raiseMoney = ''; String? payPassword = ''; List? useableConponList = []; PhoneQueryMemberInfo(); factory PhoneQueryMemberInfo.fromJson(Map json) => $PhoneQueryMemberInfoFromJson(json); Map toJson() => $PhoneQueryMemberInfoToJson(this); @override String toString() { return jsonEncode(this); } } @JsonSerializable() class UseableConponList { String? id = ''; List? storeIds = []; List? stores = []; int? bizType = 0; String? fullType = ''; String? fullAmount = ''; String? discountAmount = ''; int? fullNumber = 0; bool? dateOrDay = false; int? startAfterDays = 0; int? daysValidate = 0; int? discountPercent = 0; String? limitAmount = ''; String? bizId = ''; String? publishStartTime = ''; String? publishEndTime = ''; String? useStartTime = ''; String? useEndTime = ''; String? doStartTime = ''; String? doEndTime = ''; String? promotionId = ''; String? couponId = ''; String? receiveTime = ''; dynamic useTime; int? status = 0; String? tenantCode = ''; int? type = 0; String? promotionName = ''; bool? usable = false; String? usableReason = ''; bool? allProduct = false; List? productSkuId = []; List? productGroupIds = []; List? productList = []; bool? isMaxCoupon = false; List? productGroupList = []; String? remark = ''; bool? canUseBalance = false; UseableConponList(); factory UseableConponList.fromJson(Map json) => $UseableConponListFromJson(json); Map toJson() => $UseableConponListToJson(this); @override String toString() { return jsonEncode(this); } } @JsonSerializable() class ProductList { String? id = ''; String? createTime = ''; String? createUser = ''; String? updateTime = ''; String? updateUser = ''; String? supplierName = ''; String? storeId = ''; String? categoryId = ''; String? groupId = ''; String? shortName = ''; String? productName = ''; String? sellDesc = ''; dynamic attribute; String? productCode = ''; String? weight = ''; String? applyPrice = ''; String? price = ''; String? vipPrice = ''; int? stock = 0; int? sellCount = 0; int? needLogistics = 0; int? oversold = 0; int? organic = 0; int? status = 0; bool? posShow = false; dynamic subscribeParam; bool? isRaise = false; int? productType = 0; int? productNumber = 0; int? setMeal = 0; int? attrStyle = 0; String? detail = ''; int? isDelete = 0; String? printerFlag = ''; dynamic materials; dynamic materialId; String? details = ''; String? thumbnailImg = ''; String? info = ''; int? buyCount = 0; int? sellCountLimit = 0; String? stockRecoveryTime = ''; dynamic isAddPurchase; int? limitNum = 0; String? rankId = ''; int? happyBean = 0; int? sort = 0; dynamic salesRules; ProductList(); factory ProductList.fromJson(Map json) => $ProductListFromJson(json); Map toJson() => $ProductListToJson(this); @override String toString() { return jsonEncode(this); } }