fmk
4 years ago
35 changed files with 832 additions and 1025 deletions
@ -1,33 +0,0 @@
|
||||
// GENERATED CODE - DO NOT MODIFY BY HAND |
||||
|
||||
part of 'member_rank.dart'; |
||||
|
||||
// ************************************************************************** |
||||
// JsonSerializableGenerator |
||||
// ************************************************************************** |
||||
|
||||
MemberRank _$MemberRankFromJson(Map<String, dynamic> json) { |
||||
return MemberRank() |
||||
..id = json['id'] as String |
||||
..nextId = json['nextId'] as String |
||||
..nextName = json['nextName'] as String |
||||
..nextOrigin = json['nextOrigin'] as int |
||||
..rankContent = json['rankContent'] as String |
||||
..rankImg = json['rankImg'] as String |
||||
..rankName = json['rankName'] as String |
||||
..rankOrigin = json['rankOrigin'] as int |
||||
..status = json['status'] as bool; |
||||
} |
||||
|
||||
Map<String, dynamic> _$MemberRankToJson(MemberRank instance) => |
||||
<String, dynamic>{ |
||||
'id': instance.id, |
||||
'nextId': instance.nextId, |
||||
'nextName': instance.nextName, |
||||
'nextOrigin': instance.nextOrigin, |
||||
'rankContent': instance.rankContent, |
||||
'rankImg': instance.rankImg, |
||||
'rankName': instance.rankName, |
||||
'rankOrigin': instance.rankOrigin, |
||||
'status': instance.status, |
||||
}; |
@ -1,34 +0,0 @@
|
||||
// GENERATED CODE - DO NOT MODIFY BY HAND |
||||
|
||||
part of 'page.dart'; |
||||
|
||||
// ************************************************************************** |
||||
// JsonSerializableGenerator |
||||
// ************************************************************************** |
||||
|
||||
PageInfo _$PageInfoFromJson(Map<String, dynamic> json) { |
||||
return PageInfo() |
||||
..pageNum = json['pageNum'] as int |
||||
..current = json['current'] |
||||
..pageSize = json['pageSize'] as int |
||||
..size = json['size'] |
||||
..pages = json['pages'] |
||||
..hasPreviousPage = json['hasPreviousPage'] as bool |
||||
..hasNextPage = json['hasNextPage'] as bool |
||||
..total = json['total'] as String |
||||
..list = json['list'] as List |
||||
..records = json['records'] as List; |
||||
} |
||||
|
||||
Map<String, dynamic> _$PageInfoToJson(PageInfo instance) => <String, dynamic>{ |
||||
'pageNum': instance.pageNum, |
||||
'current': instance.current, |
||||
'pageSize': instance.pageSize, |
||||
'size': instance.size, |
||||
'pages': instance.pages, |
||||
'hasPreviousPage': instance.hasPreviousPage, |
||||
'hasNextPage': instance.hasNextPage, |
||||
'total': instance.total, |
||||
'list': instance.list, |
||||
'records': instance.records, |
||||
}; |
@ -1,67 +0,0 @@
|
||||
// GENERATED CODE - DO NOT MODIFY BY HAND |
||||
|
||||
part of 'promotion.dart'; |
||||
|
||||
// ************************************************************************** |
||||
// JsonSerializableGenerator |
||||
// ************************************************************************** |
||||
|
||||
Promotion _$PromotionFromJson(Map<String, dynamic> json) { |
||||
return Promotion( |
||||
activityEndTime: json['activityEndTime'] as String, |
||||
activityStartTime: json['activityStartTime'] as String, |
||||
applyEndTime: json['applyEndTime'] as String, |
||||
applyStartTime: json['applyStartTime'] as String, |
||||
createTime: json['createTime'] as String, |
||||
createUser: json['createUser'] as String, |
||||
description: json['description'] as String, |
||||
id: json['id'] as String, |
||||
image: json['image'] as String, |
||||
isDelete: json['isDelete'] as num, |
||||
isNeedSecurityDeposit: json['isNeedSecurityDeposit'] as num, |
||||
name: json['name'] as String, |
||||
promotionDetail: (json['promotionDetail'] as List) |
||||
?.map((e) => e == null |
||||
? null |
||||
: PromotionDetailBean.fromJson(e as Map<String, dynamic>)) |
||||
?.toList(), |
||||
promotionPlan: json['promotionPlan'] as num, |
||||
promotionType: json['promotionType'] as num, |
||||
securityDeposit: json['securityDeposit'] as String, |
||||
status: json['status'] as num, |
||||
tag: json['tag'] as String, |
||||
updateTime: json['updateTime'] as String, |
||||
updateUser: json['updateUser'] as String, |
||||
); |
||||
} |
||||
|
||||
Map<String, dynamic> _$PromotionToJson(Promotion instance) => <String, dynamic>{ |
||||
'activityEndTime': instance.activityEndTime, |
||||
'activityStartTime': instance.activityStartTime, |
||||
'applyEndTime': instance.applyEndTime, |
||||
'applyStartTime': instance.applyStartTime, |
||||
'createTime': instance.createTime, |
||||
'createUser': instance.createUser, |
||||
'description': instance.description, |
||||
'id': instance.id, |
||||
'image': instance.image, |
||||
'isDelete': instance.isDelete, |
||||
'isNeedSecurityDeposit': instance.isNeedSecurityDeposit, |
||||
'name': instance.name, |
||||
'promotionDetail': instance.promotionDetail, |
||||
'promotionPlan': instance.promotionPlan, |
||||
'promotionType': instance.promotionType, |
||||
'securityDeposit': instance.securityDeposit, |
||||
'status': instance.status, |
||||
'tag': instance.tag, |
||||
'updateTime': instance.updateTime, |
||||
'updateUser': instance.updateUser, |
||||
}; |
||||
|
||||
PromotionDetailBean _$PromotionDetailBeanFromJson(Map<String, dynamic> json) { |
||||
return PromotionDetailBean(); |
||||
} |
||||
|
||||
Map<String, dynamic> _$PromotionDetailBeanToJson( |
||||
PromotionDetailBean instance) => |
||||
<String, dynamic>{}; |
@ -1,46 +0,0 @@
|
||||
// GENERATED CODE - DO NOT MODIFY BY HAND |
||||
|
||||
part of 'sign_in.dart'; |
||||
|
||||
// ************************************************************************** |
||||
// JsonSerializableGenerator |
||||
// ************************************************************************** |
||||
|
||||
SignIn _$SignInFromJson(Map<String, dynamic> json) { |
||||
return SignIn() |
||||
..balance = json['balance'] as String |
||||
..category = json['category'] as String |
||||
..createTime = json['createTime'] as String |
||||
..createUser = json['createUser'] as String |
||||
..id = json['id'] as String |
||||
..isDeleted = json['isDeleted'] as bool |
||||
..linkId = json['linkId'] as String |
||||
..mark = json['mark'] as String |
||||
..mid = json['mid'] as String |
||||
..number = json['number'] as String |
||||
..pm = json['pm'] as int |
||||
..status = json['status'] as bool |
||||
..title = json['title'] as String |
||||
..type = json['type'] as String |
||||
..updateTime = json['updateTime'] as String |
||||
..updateUser = json['updateUser'] as String; |
||||
} |
||||
|
||||
Map<String, dynamic> _$SignInToJson(SignIn instance) => <String, dynamic>{ |
||||
'balance': instance.balance, |
||||
'category': instance.category, |
||||
'createTime': instance.createTime, |
||||
'createUser': instance.createUser, |
||||
'id': instance.id, |
||||
'isDeleted': instance.isDeleted, |
||||
'linkId': instance.linkId, |
||||
'mark': instance.mark, |
||||
'mid': instance.mid, |
||||
'number': instance.number, |
||||
'pm': instance.pm, |
||||
'status': instance.status, |
||||
'title': instance.title, |
||||
'type': instance.type, |
||||
'updateTime': instance.updateTime, |
||||
'updateUser': instance.updateUser, |
||||
}; |
@ -1,34 +0,0 @@
|
||||
// GENERATED CODE - DO NOT MODIFY BY HAND |
||||
|
||||
part of 'sign_info.dart'; |
||||
|
||||
// ************************************************************************** |
||||
// JsonSerializableGenerator |
||||
// ************************************************************************** |
||||
|
||||
SignInfo _$SignInfoFromJson(Map<String, dynamic> json) { |
||||
return SignInfo() |
||||
..point = json['point'] as String |
||||
..todayHasSignin = json['todayHasSignin'] as bool |
||||
..rank = json['rank'] == null |
||||
? null |
||||
: MemberRank.fromJson(json['rank'] as Map<String, dynamic>) |
||||
..signInList = (json['signInList'] as List) |
||||
?.map((e) => |
||||
e == null ? null : SignIn.fromJson(e as Map<String, dynamic>)) |
||||
?.toList() |
||||
..taskList = (json['taskList'] as List) |
||||
?.map( |
||||
(e) => e == null ? null : Task.fromJson(e as Map<String, dynamic>)) |
||||
?.toList() |
||||
..rewardList = (json['rewardList'] as List)?.map((e) => e as int)?.toList(); |
||||
} |
||||
|
||||
Map<String, dynamic> _$SignInfoToJson(SignInfo instance) => <String, dynamic>{ |
||||
'point': instance.point, |
||||
'todayHasSignin': instance.todayHasSignin, |
||||
'rank': instance.rank, |
||||
'signInList': instance.signInList, |
||||
'taskList': instance.taskList, |
||||
'rewardList': instance.rewardList, |
||||
}; |
@ -1,78 +0,0 @@
|
||||
// GENERATED CODE - DO NOT MODIFY BY HAND |
||||
|
||||
part of 'store.dart'; |
||||
|
||||
// ************************************************************************** |
||||
// JsonSerializableGenerator |
||||
// ************************************************************************** |
||||
|
||||
Store _$StoreFromJson(Map<String, dynamic> json) { |
||||
return Store() |
||||
..id = json['id'] as String |
||||
..createTime = json['createTime'] as String |
||||
..createUser = json['createUser'] as String |
||||
..updateTime = json['updateTime'] as String |
||||
..updateUser = json['updateUser'] as String |
||||
..tenantCode = json['tenantCode'] as String |
||||
..useErp = json['useErp'] as bool |
||||
..openStartTime = json['openStartTime'] as String |
||||
..openEndTime = json['openEndTime'] as String |
||||
..perCapitaConsumption = json['perCapitaConsumption'] as String |
||||
..storeName = json['storeName'] as String |
||||
..distance = (json['distance'] as num)?.toDouble() |
||||
..logo = json['logo'] as String |
||||
..shipAddress = json['shipAddress'] as String |
||||
..remark = json['remark'] |
||||
..mobile = json['mobile'] as String |
||||
..longitude = json['longitude'] as String |
||||
..latitude = json['latitude'] as String |
||||
..refundAddress = json['refundAddress'] |
||||
..refundTel = json['refundTel'] |
||||
..refundContact = json['refundContact'] |
||||
..isAutoSendRefundAddress = json['isAutoSendRefundAddress'] as int |
||||
..province = json['province'] as String |
||||
..city = json['city'] as String |
||||
..district = json['district'] as String |
||||
..address = json['address'] as String |
||||
..headName = json['headName'] as String |
||||
..headMobile = json['headMobile'] as String |
||||
..deliveryInfo = json['deliveryInfo'] |
||||
..businessType = json['businessType'] as String |
||||
..posType = json['posType'] == null |
||||
? null |
||||
: StoreType.fromJson(json['posType'] as Map<String, dynamic>); |
||||
} |
||||
|
||||
Map<String, dynamic> _$StoreToJson(Store instance) => <String, dynamic>{ |
||||
'id': instance.id, |
||||
'createTime': instance.createTime, |
||||
'createUser': instance.createUser, |
||||
'updateTime': instance.updateTime, |
||||
'updateUser': instance.updateUser, |
||||
'tenantCode': instance.tenantCode, |
||||
'useErp': instance.useErp, |
||||
'openStartTime': instance.openStartTime, |
||||
'openEndTime': instance.openEndTime, |
||||
'perCapitaConsumption': instance.perCapitaConsumption, |
||||
'storeName': instance.storeName, |
||||
'distance': instance.distance, |
||||
'logo': instance.logo, |
||||
'shipAddress': instance.shipAddress, |
||||
'remark': instance.remark, |
||||
'mobile': instance.mobile, |
||||
'longitude': instance.longitude, |
||||
'latitude': instance.latitude, |
||||
'refundAddress': instance.refundAddress, |
||||
'refundTel': instance.refundTel, |
||||
'refundContact': instance.refundContact, |
||||
'isAutoSendRefundAddress': instance.isAutoSendRefundAddress, |
||||
'province': instance.province, |
||||
'city': instance.city, |
||||
'district': instance.district, |
||||
'address': instance.address, |
||||
'headName': instance.headName, |
||||
'headMobile': instance.headMobile, |
||||
'deliveryInfo': instance.deliveryInfo, |
||||
'businessType': instance.businessType, |
||||
'posType': instance.posType, |
||||
}; |
@ -1,95 +0,0 @@
|
||||
// GENERATED CODE - DO NOT MODIFY BY HAND |
||||
|
||||
part of 'store_info.dart'; |
||||
|
||||
// ************************************************************************** |
||||
// JsonSerializableGenerator |
||||
// ************************************************************************** |
||||
|
||||
StoreInfo _$StoreInfoFromJson(Map<String, dynamic> json) { |
||||
return StoreInfo() |
||||
..address = json['address'] as String |
||||
..bannerList = (json['bannerList'] as List) |
||||
?.map((e) => |
||||
e == null ? null : BannerData.fromJson(e as Map<String, dynamic>)) |
||||
?.toList() |
||||
..city = json['city'] as String |
||||
..couponVOList = (json['couponVOList'] as List) |
||||
?.map((e) => |
||||
e == null ? null : CouponVo.fromJson(e as Map<String, dynamic>)) |
||||
?.toList() |
||||
..createTime = json['createTime'] as String |
||||
..createUser = json['createUser'] as String |
||||
..deliveryInfo = json['deliveryInfo'] == null |
||||
? null |
||||
: DeliveryInfo.fromJson(json['deliveryInfo'] as Map<String, dynamic>) |
||||
..district = json['district'] as String |
||||
..headMobile = json['headMobile'] as String |
||||
..headName = json['headName'] as String |
||||
..id = json['id'] as String |
||||
..isAutoSendRefundAddress = json['isAutoSendRefundAddress'] as num |
||||
..latitude = json['latitude'] as String |
||||
..logo = json['logo'] as String |
||||
..longitude = json['longitude'] as String |
||||
..mobile = json['mobile'] as String |
||||
..openEndTime = json['openEndTime'] as String |
||||
..openStartTime = json['openStartTime'] as String |
||||
..perCapitaConsumption = json['perCapitaConsumption'] as String |
||||
..posType = json['posType'] == null |
||||
? null |
||||
: StoreType.fromJson(json['posType'] as Map<String, dynamic>) |
||||
..promotionList = (json['promotionList'] as List) |
||||
?.map((e) => |
||||
e == null ? null : Promotion.fromJson(e as Map<String, dynamic>)) |
||||
?.toList() |
||||
..province = json['province'] as String |
||||
..refundAddress = json['refundAddress'] as String |
||||
..refundContact = json['refundContact'] as String |
||||
..refundTel = json['refundTel'] as String |
||||
..remark = json['remark'] as String |
||||
..shipAddress = json['shipAddress'] as String |
||||
..storeName = json['storeName'] as String |
||||
..tenantCode = json['tenantCode'] as String |
||||
..updateTime = json['updateTime'] as String |
||||
..updateUser = json['updateUser'] as String |
||||
..businessService = json['businessService'] as String |
||||
..mini = json['mini'] == null ? null : Mini.fromJson(json['mini']) |
||||
..useErp = json['useErp'] as bool; |
||||
} |
||||
|
||||
Map<String, dynamic> _$StoreInfoToJson(StoreInfo instance) => <String, dynamic>{ |
||||
'address': instance.address, |
||||
'bannerList': instance.bannerList, |
||||
'city': instance.city, |
||||
'couponVOList': instance.couponVOList, |
||||
'createTime': instance.createTime, |
||||
'createUser': instance.createUser, |
||||
'deliveryInfo': instance.deliveryInfo, |
||||
'district': instance.district, |
||||
'headMobile': instance.headMobile, |
||||
'headName': instance.headName, |
||||
'id': instance.id, |
||||
'isAutoSendRefundAddress': instance.isAutoSendRefundAddress, |
||||
'latitude': instance.latitude, |
||||
'logo': instance.logo, |
||||
'longitude': instance.longitude, |
||||
'mobile': instance.mobile, |
||||
'openEndTime': instance.openEndTime, |
||||
'openStartTime': instance.openStartTime, |
||||
'perCapitaConsumption': instance.perCapitaConsumption, |
||||
'posType': instance.posType, |
||||
'promotionList': instance.promotionList, |
||||
'province': instance.province, |
||||
'refundAddress': instance.refundAddress, |
||||
'refundContact': instance.refundContact, |
||||
'refundTel': instance.refundTel, |
||||
'remark': instance.remark, |
||||
'shipAddress': instance.shipAddress, |
||||
'storeName': instance.storeName, |
||||
'tenantCode': instance.tenantCode, |
||||
'updateTime': instance.updateTime, |
||||
'updateUser': instance.updateUser, |
||||
'businessService': instance.businessService, |
||||
'mini': instance.mini, |
||||
'useErp': instance.useErp, |
||||
}; |
@ -1,15 +1,16 @@
|
||||
import 'package:json_annotation/json_annotation.dart'; |
||||
|
||||
part 'store_type.g.dart'; |
||||
|
||||
@JsonSerializable() |
||||
class StoreType { |
||||
StoreType(); |
||||
|
||||
String desc; |
||||
String code; |
||||
|
||||
factory StoreType.fromJson(Map<String, dynamic> json) => _$StoreTypeFromJson(json); |
||||
Map<String, dynamic> toJson() => _$StoreTypeToJson(this); |
||||
factory StoreType.fromJson(Map<String, dynamic> json) => StoreType() |
||||
..desc = json['desc'] as String |
||||
..code = json['code'] as String; |
||||
Map<String, dynamic> toJson() => <String, dynamic>{ |
||||
'desc': this.desc, |
||||
'code': this.code, |
||||
}; |
||||
|
||||
} |
@ -1,18 +0,0 @@
|
||||
// GENERATED CODE - DO NOT MODIFY BY HAND |
||||
|
||||
part of 'store_type.dart'; |
||||
|
||||
// ************************************************************************** |
||||
// JsonSerializableGenerator |
||||
// ************************************************************************** |
||||
|
||||
StoreType _$StoreTypeFromJson(Map<String, dynamic> json) { |
||||
return StoreType() |
||||
..desc = json['desc'] as String |
||||
..code = json['code'] as String; |
||||
} |
||||
|
||||
Map<String, dynamic> _$StoreTypeToJson(StoreType instance) => <String, dynamic>{ |
||||
'desc': instance.desc, |
||||
'code': instance.code, |
||||
}; |
@ -1,42 +0,0 @@
|
||||
// GENERATED CODE - DO NOT MODIFY BY HAND |
||||
|
||||
part of 'task.dart'; |
||||
|
||||
// ************************************************************************** |
||||
// JsonSerializableGenerator |
||||
// ************************************************************************** |
||||
|
||||
Task _$TaskFromJson(Map<String, dynamic> json) { |
||||
return Task() |
||||
..aspects = json['aspects'] as String |
||||
..complateNum = json['complateNum'] as int |
||||
..conplateNum = json['conplateNum'] as int |
||||
..createTime = json['createTime'] as String |
||||
..createUser = json['createUser'] as String |
||||
..id = json['id'] as String |
||||
..limitDay = json['limitDay'] as int |
||||
..name = json['name'] as String |
||||
..rewardType = json['rewardType'] as int |
||||
..rewardValue = json['rewardValue'] as String |
||||
..status = json['status'] as bool |
||||
..type = json['type'] as String |
||||
..updateTime = json['updateTime'] as String |
||||
..updateUser = json['updateUser'] as String; |
||||
} |
||||
|
||||
Map<String, dynamic> _$TaskToJson(Task instance) => <String, dynamic>{ |
||||
'aspects': instance.aspects, |
||||
'complateNum': instance.complateNum, |
||||
'conplateNum': instance.conplateNum, |
||||
'createTime': instance.createTime, |
||||
'createUser': instance.createUser, |
||||
'id': instance.id, |
||||
'limitDay': instance.limitDay, |
||||
'name': instance.name, |
||||
'rewardType': instance.rewardType, |
||||
'rewardValue': instance.rewardValue, |
||||
'status': instance.status, |
||||
'type': instance.type, |
||||
'updateTime': instance.updateTime, |
||||
'updateUser': instance.updateUser, |
||||
}; |
@ -1,67 +0,0 @@
|
||||
// GENERATED CODE - DO NOT MODIFY BY HAND |
||||
|
||||
part of 'upload_result.dart'; |
||||
|
||||
// ************************************************************************** |
||||
// JsonSerializableGenerator |
||||
// ************************************************************************** |
||||
|
||||
UploadResult _$UploadResultFromJson(Map<String, dynamic> json) { |
||||
return UploadResult() |
||||
..id = json['id'] as String |
||||
..createTime = json['createTime'] as String |
||||
..createUser = json['createUser'] as String |
||||
..updateTime = json['updateTime'] as String |
||||
..updateUser = json['updateUser'] as String |
||||
..dataType = json['dataType'] == null |
||||
? null |
||||
: DataType.fromJson(json['dataType'] as Map<String, dynamic>) |
||||
..submittedFileName = json['submittedFileName'] as String |
||||
..treePath = json['treePath'] as String |
||||
..grade = json['grade'] as int |
||||
..isDelete = json['isDelete'] as bool |
||||
..folderId = json['folderId'] as String |
||||
..url = json['url'] as String |
||||
..size = json['size'] as String |
||||
..folderName = json['folderName'] as String |
||||
..group = json['group'] |
||||
..path = json['path'] as String |
||||
..relativePath = json['relativePath'] as String |
||||
..fileMd5 = json['fileMd5'] |
||||
..contextType = json['contextType'] as String |
||||
..filename = json['filename'] as String |
||||
..ext = json['ext'] as String |
||||
..icon = json['icon'] as String |
||||
..createMonth = json['createMonth'] as String |
||||
..createWeek = json['createWeek'] as String |
||||
..createDay = json['createDay'] as String; |
||||
} |
||||
|
||||
Map<String, dynamic> _$UploadResultToJson(UploadResult instance) => |
||||
<String, dynamic>{ |
||||
'id': instance.id, |
||||
'createTime': instance.createTime, |
||||
'createUser': instance.createUser, |
||||
'updateTime': instance.updateTime, |
||||
'updateUser': instance.updateUser, |
||||
'dataType': instance.dataType, |
||||
'submittedFileName': instance.submittedFileName, |
||||
'treePath': instance.treePath, |
||||
'grade': instance.grade, |
||||
'isDelete': instance.isDelete, |
||||
'folderId': instance.folderId, |
||||
'url': instance.url, |
||||
'size': instance.size, |
||||
'folderName': instance.folderName, |
||||
'group': instance.group, |
||||
'path': instance.path, |
||||
'relativePath': instance.relativePath, |
||||
'fileMd5': instance.fileMd5, |
||||
'contextType': instance.contextType, |
||||
'filename': instance.filename, |
||||
'ext': instance.ext, |
||||
'icon': instance.icon, |
||||
'createMonth': instance.createMonth, |
||||
'createWeek': instance.createWeek, |
||||
'createDay': instance.createDay, |
||||
}; |
@ -1,39 +0,0 @@
|
||||
// GENERATED CODE - DO NOT MODIFY BY HAND |
||||
|
||||
part of 'user_entity.dart'; |
||||
|
||||
// ************************************************************************** |
||||
// JsonSerializableGenerator |
||||
// ************************************************************************** |
||||
|
||||
UserEntity _$UserEntityFromJson(Map<String, dynamic> json) { |
||||
return UserEntity() |
||||
..account = json['account'] as String |
||||
..avatar = json['avatar'] as String |
||||
..expiration = json['expiration'] as String |
||||
..expire = json['expire'] as String |
||||
..mobile = json['mobile'] as String |
||||
..name = json['name'] as String |
||||
..refreshToken = json['refreshToken'] as String |
||||
..token = json['token'] as String |
||||
..tokenType = json['tokenType'] as String |
||||
..userId = json['userId'] as String |
||||
..userType = json['userType'] as String |
||||
..workDescribe = json['workDescribe'] as String; |
||||
} |
||||
|
||||
Map<String, dynamic> _$UserEntityToJson(UserEntity instance) => |
||||
<String, dynamic>{ |
||||
'account': instance.account, |
||||
'avatar': instance.avatar, |
||||
'expiration': instance.expiration, |
||||
'expire': instance.expire, |
||||
'mobile': instance.mobile, |
||||
'name': instance.name, |
||||
'refreshToken': instance.refreshToken, |
||||
'token': instance.token, |
||||
'tokenType': instance.tokenType, |
||||
'userId': instance.userId, |
||||
'userType': instance.userType, |
||||
'workDescribe': instance.workDescribe, |
||||
}; |
@ -1,48 +0,0 @@
|
||||
// GENERATED CODE - DO NOT MODIFY BY HAND |
||||
|
||||
part of 'user_info.dart'; |
||||
|
||||
// ************************************************************************** |
||||
// JsonSerializableGenerator |
||||
// ************************************************************************** |
||||
|
||||
UserInfo _$UserInfoFromJson(Map<String, dynamic> json) { |
||||
return UserInfo() |
||||
..vipNo = json['vipNo'] as String |
||||
..nickname = json['nickname'] as String |
||||
..headimg = json['headimg'] as String |
||||
..userType = json['userType'] as bool |
||||
..sex = json['sex'] as String |
||||
..level = json['level'] as int |
||||
..addressId = json['addressId'] as String |
||||
..remark = json['remark'] as String |
||||
..phone = json['phone'] as String |
||||
..createTime = json['createTime'] as String |
||||
..birth = json['birth'] as String |
||||
..balance = json['balance'] |
||||
..money = json['money'] as String |
||||
..points = json['points'] as String |
||||
..isBind = json['isBind'] as bool |
||||
..memberRankVo = json['memberRankVo'] == null |
||||
? null |
||||
: MemberRank.fromJson(json['memberRankVo'] as Map<String, dynamic>); |
||||
} |
||||
|
||||
Map<String, dynamic> _$UserInfoToJson(UserInfo instance) => <String, dynamic>{ |
||||
'vipNo': instance.vipNo, |
||||
'nickname': instance.nickname, |
||||
'headimg': instance.headimg, |
||||
'userType': instance.userType, |
||||
'sex': instance.sex, |
||||
'level': instance.level, |
||||
'addressId': instance.addressId, |
||||
'remark': instance.remark, |
||||
'phone': instance.phone, |
||||
'createTime': instance.createTime, |
||||
'birth': instance.birth, |
||||
'balance': instance.balance, |
||||
'money': instance.money, |
||||
'points': instance.points, |
||||
'isBind': instance.isBind, |
||||
'memberRankVo': instance.memberRankVo, |
||||
}; |
@ -1,33 +0,0 @@
|
||||
// GENERATED CODE - DO NOT MODIFY BY HAND |
||||
|
||||
part of 'verify_code.dart'; |
||||
|
||||
// ************************************************************************** |
||||
// JsonSerializableGenerator |
||||
// ************************************************************************** |
||||
|
||||
VerifyCode _$VerifyCodeFromJson(Map<String, dynamic> json) { |
||||
return VerifyCode() |
||||
..code = json['code'] as int |
||||
..data = json['data'] as Map<String, dynamic> |
||||
..extra = json['extra'] == null |
||||
? null |
||||
: BaseDataExtra.fromJson(json['extra'] as Map<String, dynamic>) |
||||
..isError = json['isError'] as bool |
||||
..isSuccess = json['isSuccess'] as bool |
||||
..msg = json['msg'] as String |
||||
..path = json['path'] as String |
||||
..timestamp = json['timestamp'] as String; |
||||
} |
||||
|
||||
Map<String, dynamic> _$VerifyCodeToJson(VerifyCode instance) => |
||||
<String, dynamic>{ |
||||
'code': instance.code, |
||||
'data': instance.data, |
||||
'extra': instance.extra, |
||||
'isError': instance.isError, |
||||
'isSuccess': instance.isSuccess, |
||||
'msg': instance.msg, |
||||
'path': instance.path, |
||||
'timestamp': instance.timestamp, |
||||
}; |
Loading…
Reference in new issue