// GENERATED CODE - DO NOT MODIFY BY HAND part of 'activity_area_list.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** ActivityAreaList _$ActivityAreaListFromJson(Map json) => ActivityAreaList() ..actTemplate = json['actTemplate'] == null ? null : ActTemplate.fromJson(json['actTemplate'] as Map) ..timeProductList = (json['timeProductList'] as List?) ?.map((e) => TimeProductList.fromJson(e as Map)) .toList(); Map _$ActivityAreaListToJson(ActivityAreaList instance) => { 'actTemplate': instance.actTemplate?.toJson(), 'timeProductList': instance.timeProductList?.map((e) => e.toJson()).toList(), }; ActTemplate _$ActTemplateFromJson(Map json) => ActTemplate() ..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? ..storeId = json['storeId'] as String? ..actName = json['actName'] as String? ..actDesc = json['actDesc'] as String? ..type = (json['type'] as num?)?.toInt() ..limitTime = (json['limitTime'] as num?)?.toInt() ..limitNumber = (json['limitNumber'] as num?)?.toInt() ..coverImg = json['coverImg'] as String? ..shareImg = json['shareImg'] as String? ..bannerImg = json['bannerImg'] as String? ..state = (json['state'] as num?)?.toInt() ..allDay = json['allDay'] as bool? ..startTime = json['startTime'] as String? ..endTime = json['endTime'] as String? ..isDelete = (json['isDelete'] as num?)?.toInt(); Map _$ActTemplateToJson(ActTemplate instance) => { 'id': instance.id, 'createTime': instance.createTime, 'createUser': instance.createUser, 'updateTime': instance.updateTime, 'updateUser': instance.updateUser, 'storeId': instance.storeId, 'actName': instance.actName, 'actDesc': instance.actDesc, 'type': instance.type, 'limitTime': instance.limitTime, 'limitNumber': instance.limitNumber, 'coverImg': instance.coverImg, 'shareImg': instance.shareImg, 'bannerImg': instance.bannerImg, 'state': instance.state, 'allDay': instance.allDay, 'startTime': instance.startTime, 'endTime': instance.endTime, 'isDelete': instance.isDelete, }; TimeProductList _$TimeProductListFromJson(Map json) => TimeProductList() ..actTime = json['actTime'] == null ? null : ActTime.fromJson(json['actTime'] as Map) ..productList = (json['productList'] as List?) ?.map((e) => ShopHomeProductList.fromJson(e as Map)) .toList(); Map _$TimeProductListToJson(TimeProductList instance) => { 'actTime': instance.actTime?.toJson(), 'productList': instance.productList?.map((e) => e.toJson()).toList(), }; ActTime _$ActTimeFromJson(Map json) => ActTime() ..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? ..storeId = json['storeId'] as String? ..templateId = json['templateId'] as String? ..allDay = json['allDay'] as bool? ..startHour = json['startHour'] ..endHour = json['endHour'] ..isDelete = (json['isDelete'] as num?)?.toInt(); Map _$ActTimeToJson(ActTime instance) => { 'id': instance.id, 'createTime': instance.createTime, 'createUser': instance.createUser, 'updateTime': instance.updateTime, 'updateUser': instance.updateUser, 'storeId': instance.storeId, 'templateId': instance.templateId, 'allDay': instance.allDay, 'startHour': instance.startHour, 'endHour': instance.endHour, 'isDelete': instance.isDelete, };