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
687 B

import 'package:huixiang/generated/json/activity.g.dart';
import 'package:huixiang/generated/json/base/json_field.dart';
@JsonSerializable()
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);
}