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.
110 lines
4.2 KiB
110 lines
4.2 KiB
1 month ago
|
// GENERATED CODE - DO NOT MODIFY BY HAND
|
||
|
|
||
|
part of 'activity_area_list.dart';
|
||
|
|
||
|
// **************************************************************************
|
||
|
// JsonSerializableGenerator
|
||
|
// **************************************************************************
|
||
|
|
||
|
ActivityAreaList _$ActivityAreaListFromJson(Map<String, dynamic> json) =>
|
||
|
ActivityAreaList()
|
||
|
..actTemplate = json['actTemplate'] == null
|
||
|
? null
|
||
|
: ActTemplate.fromJson(json['actTemplate'] as Map<String, dynamic>)
|
||
|
..timeProductList = (json['timeProductList'] as List<dynamic>?)
|
||
|
?.map((e) => TimeProductList.fromJson(e as Map<String, dynamic>))
|
||
|
.toList();
|
||
|
|
||
|
Map<String, dynamic> _$ActivityAreaListToJson(ActivityAreaList instance) =>
|
||
|
<String, dynamic>{
|
||
|
'actTemplate': instance.actTemplate?.toJson(),
|
||
|
'timeProductList':
|
||
|
instance.timeProductList?.map((e) => e.toJson()).toList(),
|
||
|
};
|
||
|
|
||
|
ActTemplate _$ActTemplateFromJson(Map<String, dynamic> 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<String, dynamic> _$ActTemplateToJson(ActTemplate instance) =>
|
||
|
<String, dynamic>{
|
||
|
'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<String, dynamic> json) =>
|
||
|
TimeProductList()
|
||
|
..actTime = json['actTime'] == null
|
||
|
? null
|
||
|
: ActTime.fromJson(json['actTime'] as Map<String, dynamic>)
|
||
|
..productList = (json['productList'] as List<dynamic>?)
|
||
|
?.map((e) => ShopHomeProductList.fromJson(e as Map<String, dynamic>))
|
||
|
.toList();
|
||
|
|
||
|
Map<String, dynamic> _$TimeProductListToJson(TimeProductList instance) =>
|
||
|
<String, dynamic>{
|
||
|
'actTime': instance.actTime?.toJson(),
|
||
|
'productList': instance.productList?.map((e) => e.toJson()).toList(),
|
||
|
};
|
||
|
|
||
|
ActTime _$ActTimeFromJson(Map<String, dynamic> 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<String, dynamic> _$ActTimeToJson(ActTime instance) => <String, dynamic>{
|
||
|
'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,
|
||
|
};
|