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.
370 lines
11 KiB
370 lines
11 KiB
class EventData {
|
|
String? id;
|
|
bool? isDelete;
|
|
String? createTime;
|
|
String? updateTime;
|
|
Null? event;
|
|
String? name;
|
|
String? vipActivityId;
|
|
String? goodsId;
|
|
String? applyStartTime;
|
|
String? applyEndTime;
|
|
String? beginTime;
|
|
String? endTime;
|
|
num? provinceCode;
|
|
String? provinceName;
|
|
num? cityCode;
|
|
String? cityName;
|
|
num? districtCode;
|
|
String? districtName;
|
|
String? detailedAddress;
|
|
num? numberParticipants;
|
|
num? numberMan;
|
|
num? numberWoman;
|
|
num? manEntryFee;
|
|
num? womanEntryFee;
|
|
num? manDiscount;
|
|
num? womanDiscount;
|
|
String? depict;
|
|
num? status;
|
|
num? activityType;
|
|
String? communityId;
|
|
String? communityName;
|
|
String? communityQrCodeUrl;
|
|
String? contactPictureUrl;
|
|
String? goodsName;
|
|
num? chargeType;
|
|
num? mutualAssistanceLimit;
|
|
bool? needRegInfo;
|
|
bool? realNameSwitch;
|
|
List<ImgList>? imgList;
|
|
num? topSerialNumber;
|
|
String? sharePhotosUrl;
|
|
String? contentPic;
|
|
num? contentPicHeight;
|
|
num? simulationNanNum;
|
|
num? simulationWonanNum;
|
|
String? participantId;
|
|
num? manNumber;
|
|
num? womanNumber;
|
|
num? participantStatus;
|
|
num? quitAuditStatus;
|
|
num? userOpenAssistanceStatus;
|
|
String? openedAssistanceId;
|
|
List<ParticipationAllocationList>? participationAllocationList;
|
|
String? thisDayTimes;
|
|
String? endTimes;
|
|
|
|
EventData(
|
|
{this.id,
|
|
this.isDelete,
|
|
this.createTime,
|
|
this.updateTime,
|
|
this.event,
|
|
this.name,
|
|
this.vipActivityId,
|
|
this.goodsId,
|
|
this.applyStartTime,
|
|
this.applyEndTime,
|
|
this.beginTime,
|
|
this.endTime,
|
|
this.provinceCode,
|
|
this.provinceName,
|
|
this.cityCode,
|
|
this.cityName,
|
|
this.districtCode,
|
|
this.districtName,
|
|
this.detailedAddress,
|
|
this.numberParticipants,
|
|
this.numberMan,
|
|
this.numberWoman,
|
|
this.manEntryFee,
|
|
this.womanEntryFee,
|
|
this.manDiscount,
|
|
this.womanDiscount,
|
|
this.depict,
|
|
this.status,
|
|
this.activityType,
|
|
this.communityId,
|
|
this.communityName,
|
|
this.communityQrCodeUrl,
|
|
this.contactPictureUrl,
|
|
this.goodsName,
|
|
this.chargeType,
|
|
this.mutualAssistanceLimit,
|
|
this.needRegInfo,
|
|
this.realNameSwitch,
|
|
this.imgList,
|
|
this.topSerialNumber,
|
|
this.sharePhotosUrl,
|
|
this.contentPic,
|
|
this.contentPicHeight,
|
|
this.simulationNanNum,
|
|
this.simulationWonanNum,
|
|
this.participantId,
|
|
this.manNumber,
|
|
this.womanNumber,
|
|
this.participantStatus,
|
|
this.quitAuditStatus,
|
|
this.userOpenAssistanceStatus,
|
|
this.openedAssistanceId,
|
|
this.participationAllocationList,
|
|
this.thisDayTimes,
|
|
this.endTimes});
|
|
|
|
EventData.fromJson(Map<String, dynamic> json) {
|
|
id = json['id'];
|
|
isDelete = json['isDelete'];
|
|
createTime = json['createTime'];
|
|
updateTime = json['updateTime'];
|
|
event = json['event'];
|
|
name = json['name'];
|
|
vipActivityId = json['vipActivityId'];
|
|
goodsId = json['goodsId'];
|
|
applyStartTime = json['applyStartTime'];
|
|
applyEndTime = json['applyEndTime'];
|
|
beginTime = json['beginTime'];
|
|
endTime = json['endTime'];
|
|
provinceCode = json['provinceCode'];
|
|
provinceName = json['provinceName'];
|
|
cityCode = json['cityCode'];
|
|
cityName = json['cityName'];
|
|
districtCode = json['districtCode'];
|
|
districtName = json['districtName'];
|
|
detailedAddress = json['detailedAddress'];
|
|
numberParticipants = json['numberParticipants'];
|
|
numberMan = json['numberMan'];
|
|
numberWoman = json['numberWoman'];
|
|
manEntryFee = json['manEntryFee'];
|
|
womanEntryFee = json['womanEntryFee'];
|
|
manDiscount = json['manDiscount'];
|
|
womanDiscount = json['womanDiscount'];
|
|
depict = json['depict'];
|
|
status = json['status'];
|
|
activityType = json['activityType'];
|
|
communityId = json['communityId'];
|
|
communityName = json['communityName'];
|
|
communityQrCodeUrl = json['communityQrCodeUrl'];
|
|
contactPictureUrl = json['contactPictureUrl'];
|
|
goodsName = json['goodsName'];
|
|
chargeType = json['chargeType'];
|
|
mutualAssistanceLimit = json['mutualAssistanceLimit'];
|
|
needRegInfo = json['needRegInfo'];
|
|
realNameSwitch = json['realNameSwitch'];
|
|
if (json['imgList'] != null) {
|
|
imgList = <ImgList>[];
|
|
json['imgList'].forEach((v) {
|
|
imgList!.add(new ImgList.fromJson(v));
|
|
});
|
|
}
|
|
topSerialNumber = json['topSerialNumber'];
|
|
sharePhotosUrl = json['sharePhotosUrl'];
|
|
contentPic = json['contentPic'];
|
|
contentPicHeight = json['contentPicHeight'];
|
|
simulationNanNum = json['simulationNanNum'];
|
|
simulationWonanNum = json['simulationWonanNum'];
|
|
participantId = json['participantId'];
|
|
manNumber = json['manNumber'];
|
|
womanNumber = json['womanNumber'];
|
|
participantStatus = json['participantStatus'];
|
|
quitAuditStatus = json['quitAuditStatus'];
|
|
userOpenAssistanceStatus = json['userOpenAssistanceStatus'];
|
|
openedAssistanceId = json['openedAssistanceId'];
|
|
if (json['participationAllocationList'] != null) {
|
|
participationAllocationList = <ParticipationAllocationList>[];
|
|
json['participationAllocationList'].forEach((v) {
|
|
participationAllocationList!
|
|
.add(new ParticipationAllocationList.fromJson(v));
|
|
});
|
|
}
|
|
thisDayTimes = json['thisDayTimes'];
|
|
endTimes = json['endTimes'];
|
|
}
|
|
|
|
Map<String, dynamic> toJson() {
|
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
|
data['id'] = this.id;
|
|
data['isDelete'] = this.isDelete;
|
|
data['createTime'] = this.createTime;
|
|
data['updateTime'] = this.updateTime;
|
|
data['event'] = this.event;
|
|
data['name'] = this.name;
|
|
data['vipActivityId'] = this.vipActivityId;
|
|
data['goodsId'] = this.goodsId;
|
|
data['applyStartTime'] = this.applyStartTime;
|
|
data['applyEndTime'] = this.applyEndTime;
|
|
data['beginTime'] = this.beginTime;
|
|
data['endTime'] = this.endTime;
|
|
data['provinceCode'] = this.provinceCode;
|
|
data['provinceName'] = this.provinceName;
|
|
data['cityCode'] = this.cityCode;
|
|
data['cityName'] = this.cityName;
|
|
data['districtCode'] = this.districtCode;
|
|
data['districtName'] = this.districtName;
|
|
data['detailedAddress'] = this.detailedAddress;
|
|
data['numberParticipants'] = this.numberParticipants;
|
|
data['numberMan'] = this.numberMan;
|
|
data['numberWoman'] = this.numberWoman;
|
|
data['manEntryFee'] = this.manEntryFee;
|
|
data['womanEntryFee'] = this.womanEntryFee;
|
|
data['manDiscount'] = this.manDiscount;
|
|
data['womanDiscount'] = this.womanDiscount;
|
|
data['depict'] = this.depict;
|
|
data['status'] = this.status;
|
|
data['activityType'] = this.activityType;
|
|
data['communityId'] = this.communityId;
|
|
data['communityName'] = this.communityName;
|
|
data['communityQrCodeUrl'] = this.communityQrCodeUrl;
|
|
data['contactPictureUrl'] = this.contactPictureUrl;
|
|
data['goodsName'] = this.goodsName;
|
|
data['chargeType'] = this.chargeType;
|
|
data['mutualAssistanceLimit'] = this.mutualAssistanceLimit;
|
|
data['needRegInfo'] = this.needRegInfo;
|
|
data['realNameSwitch'] = this.realNameSwitch;
|
|
if (this.imgList != null) {
|
|
data['imgList'] = this.imgList!.map((v) => v.toJson()).toList();
|
|
}
|
|
data['topSerialNumber'] = this.topSerialNumber;
|
|
data['sharePhotosUrl'] = this.sharePhotosUrl;
|
|
data['contentPic'] = this.contentPic;
|
|
data['contentPicHeight'] = this.contentPicHeight;
|
|
data['simulationNanNum'] = this.simulationNanNum;
|
|
data['simulationWonanNum'] = this.simulationWonanNum;
|
|
data['participantId'] = this.participantId;
|
|
data['manNumber'] = this.manNumber;
|
|
data['womanNumber'] = this.womanNumber;
|
|
data['participantStatus'] = this.participantStatus;
|
|
data['quitAuditStatus'] = this.quitAuditStatus;
|
|
data['userOpenAssistanceStatus'] = this.userOpenAssistanceStatus;
|
|
data['openedAssistanceId'] = this.openedAssistanceId;
|
|
if (this.participationAllocationList != null) {
|
|
data['participationAllocationList'] =
|
|
this.participationAllocationList!.map((v) => v.toJson()).toList();
|
|
}
|
|
data['thisDayTimes'] = this.thisDayTimes;
|
|
data['endTimes'] = this.endTimes;
|
|
return data;
|
|
}
|
|
}
|
|
|
|
class ImgList {
|
|
String? id;
|
|
bool? isDelete;
|
|
List<num>? createTime;
|
|
List<num>? updateTime;
|
|
Null? event;
|
|
num? siteActivityId;
|
|
String? url;
|
|
num? serialNumber;
|
|
|
|
ImgList(
|
|
{this.id,
|
|
this.isDelete,
|
|
this.createTime,
|
|
this.updateTime,
|
|
this.event,
|
|
this.siteActivityId,
|
|
this.url,
|
|
this.serialNumber});
|
|
|
|
ImgList.fromJson(Map<String, dynamic> json) {
|
|
id = json['id'];
|
|
isDelete = json['isDelete'];
|
|
createTime = json['createTime'].cast<num>();
|
|
updateTime = json['updateTime'].cast<num>();
|
|
event = json['event'];
|
|
siteActivityId = json['siteActivityId'];
|
|
url = json['url'];
|
|
serialNumber = json['serialNumber'];
|
|
}
|
|
|
|
Map<String, dynamic> toJson() {
|
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
|
data['id'] = this.id;
|
|
data['isDelete'] = this.isDelete;
|
|
data['createTime'] = this.createTime;
|
|
data['updateTime'] = this.updateTime;
|
|
data['event'] = this.event;
|
|
data['siteActivityId'] = this.siteActivityId;
|
|
data['url'] = this.url;
|
|
data['serialNumber'] = this.serialNumber;
|
|
return data;
|
|
}
|
|
}
|
|
|
|
class ParticipationAllocationList {
|
|
String? id;
|
|
bool? isDelete;
|
|
String? createTime;
|
|
String? updateTime;
|
|
Null? event;
|
|
num? siteActivityId;
|
|
num? transactionPrice;
|
|
num? originalPrice;
|
|
num? assistNumber;
|
|
num? assistRule;
|
|
num? discountAmount;
|
|
num? validTime;
|
|
num? userType;
|
|
num? genderCode;
|
|
String? genderValue;
|
|
bool? enable;
|
|
|
|
ParticipationAllocationList(
|
|
{this.id,
|
|
this.isDelete,
|
|
this.createTime,
|
|
this.updateTime,
|
|
this.event,
|
|
this.siteActivityId,
|
|
this.transactionPrice,
|
|
this.originalPrice,
|
|
this.assistNumber,
|
|
this.assistRule,
|
|
this.discountAmount,
|
|
this.validTime,
|
|
this.userType,
|
|
this.genderCode,
|
|
this.genderValue,
|
|
this.enable});
|
|
|
|
ParticipationAllocationList.fromJson(Map<String, dynamic> json) {
|
|
id = json['id'];
|
|
isDelete = json['isDelete'];
|
|
createTime = json['createTime'];
|
|
updateTime = json['updateTime'];
|
|
event = json['event'];
|
|
siteActivityId = json['siteActivityId'];
|
|
transactionPrice = json['transactionPrice'];
|
|
originalPrice = json['originalPrice'];
|
|
assistNumber = json['assistNumber'];
|
|
assistRule = json['assistRule'];
|
|
discountAmount = json['discountAmount'];
|
|
validTime = json['validTime'];
|
|
userType = json['userType'];
|
|
genderCode = json['genderCode'];
|
|
genderValue = json['genderValue'];
|
|
enable = json['enable'];
|
|
}
|
|
|
|
Map<String, dynamic> toJson() {
|
|
final Map<String, dynamic> data = new Map<String, dynamic>();
|
|
data['id'] = this.id;
|
|
data['isDelete'] = this.isDelete;
|
|
data['createTime'] = this.createTime;
|
|
data['updateTime'] = this.updateTime;
|
|
data['event'] = this.event;
|
|
data['siteActivityId'] = this.siteActivityId;
|
|
data['transactionPrice'] = this.transactionPrice;
|
|
data['originalPrice'] = this.originalPrice;
|
|
data['assistNumber'] = this.assistNumber;
|
|
data['assistRule'] = this.assistRule;
|
|
data['discountAmount'] = this.discountAmount;
|
|
data['validTime'] = this.validTime;
|
|
data['userType'] = this.userType;
|
|
data['genderCode'] = this.genderCode;
|
|
data['genderValue'] = this.genderValue;
|
|
data['enable'] = this.enable;
|
|
return data;
|
|
}
|
|
}
|