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.
141 lines
3.3 KiB
141 lines
3.3 KiB
1 month ago
|
import 'package:json_annotation/json_annotation.dart';
|
||
|
|
||
|
part 'phone_query_member_info.g.dart';
|
||
|
|
||
|
@JsonSerializable(explicitToJson: true)
|
||
|
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);
|
||
|
|
||
|
|
||
|
}
|
||
|
|
||
|
@JsonSerializable(explicitToJson: true)
|
||
|
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);
|
||
|
|
||
|
|
||
|
}
|
||
|
|
||
|
@JsonSerializable(explicitToJson: true)
|
||
|
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);
|
||
|
|
||
|
|
||
|
}
|