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.
 
 
 
 
 
 

50 lines
1.9 KiB

// GENERATED CODE - DO NOT MODIFY BY HAND
part of 'activity.dart';
// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************
Activity _$ActivityFromJson(Map<String, dynamic> json) => Activity()
..id = json['id'] as String?
..createTime = json['createTime'] as String?
..createUser = json['createUser']
..updateTime = json['updateTime'] as String?
..updateUser = json['updateUser']
..storeId = json['storeId'] as String?
..mainTitle = json['mainTitle'] as String?
..viceTitle = json['viceTitle'] as String?
..content = json['content'] as String?
..coverImg = json['coverImg'] as String?
..startTime = json['startTime'] as String?
..endTime = json['endTime'] as String?
..categoryId = json['categoryId'] as String?
..state = (json['state'] as num?)?.toInt()
..isDelete = (json['isDelete'] as num?)?.toInt()
..likes = (json['likes'] as num?)?.toInt()
..liked = json['liked'] as bool?
..viewers = (json['viewers'] as num?)?.toInt()
..storeName = json['storeName'] as String?;
Map<String, dynamic> _$ActivityToJson(Activity instance) => <String, dynamic>{
'id': instance.id,
'createTime': instance.createTime,
'createUser': instance.createUser,
'updateTime': instance.updateTime,
'updateUser': instance.updateUser,
'storeId': instance.storeId,
'mainTitle': instance.mainTitle,
'viceTitle': instance.viceTitle,
'content': instance.content,
'coverImg': instance.coverImg,
'startTime': instance.startTime,
'endTime': instance.endTime,
'categoryId': instance.categoryId,
'state': instance.state,
'isDelete': instance.isDelete,
'likes': instance.likes,
'liked': instance.liked,
'viewers': instance.viewers,
'storeName': instance.storeName,
};