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.
151 lines
3.6 KiB
151 lines
3.6 KiB
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>? useableConponList = []; |
|
|
|
PhoneQueryMemberInfo(); |
|
|
|
factory PhoneQueryMemberInfo.fromJson(Map<String, dynamic> json) => $PhoneQueryMemberInfoFromJson(json); |
|
|
|
Map<String, dynamic> toJson() => $PhoneQueryMemberInfoToJson(this); |
|
|
|
@override |
|
String toString() { |
|
return jsonEncode(this); |
|
} |
|
} |
|
|
|
@JsonSerializable() |
|
class UseableConponList { |
|
String? id = ''; |
|
List<String>? storeIds = []; |
|
List<dynamic>? 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<dynamic>? productSkuId = []; |
|
List<String>? productGroupIds = []; |
|
List<ProductList>? productList = []; |
|
bool? isMaxCoupon = false; |
|
List<dynamic>? productGroupList = []; |
|
String? remark = ''; |
|
bool? canUseBalance = false; |
|
|
|
UseableConponList(); |
|
|
|
factory UseableConponList.fromJson(Map<String, dynamic> json) => $UseableConponListFromJson(json); |
|
|
|
Map<String, dynamic> 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<String, dynamic> json) => $ProductListFromJson(json); |
|
|
|
Map<String, dynamic> toJson() => $ProductListToJson(this); |
|
|
|
@override |
|
String toString() { |
|
return jsonEncode(this); |
|
} |
|
} |