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.
45 lines
1.6 KiB
45 lines
1.6 KiB
4 years ago
|
// GENERATED CODE - DO NOT MODIFY BY HAND
|
||
|
|
||
|
part of 'activity.dart';
|
||
|
|
||
|
// **************************************************************************
|
||
|
// JsonSerializableGenerator
|
||
|
// **************************************************************************
|
||
|
|
||
|
Activity _$ActivityFromJson(Map<String, dynamic> json) {
|
||
|
return 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
|
||
|
..state = json['state'] as int
|
||
|
..isDelete = json['isDelete'] as int
|
||
|
..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,
|
||
|
'state': instance.state,
|
||
|
'isDelete': instance.isDelete,
|
||
|
'storeName': instance.storeName,
|
||
|
};
|