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.
 
 
 
 
 
 

32 lines
662 B

import 'package:json_annotation/json_annotation.dart';
part 'activity.g.dart';
@JsonSerializable(explicitToJson: true)
class Activity {
Activity();
String? id;
String? createTime;
dynamic createUser;
String? updateTime;
dynamic updateUser;
String? storeId;
String? mainTitle;
String? viceTitle;
String? content;
String? coverImg;
String? startTime;
String? endTime;
String? categoryId;
int? state;
int? isDelete;
int? likes;
bool? liked;
int? viewers;
String? storeName;
factory Activity.fromJson(Map<String, dynamic> json) => _$ActivityFromJson(json);
Map<String, dynamic> toJson() => _$ActivityToJson(this);
}