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.
31 lines
568 B
31 lines
568 B
import 'package:json_annotation/json_annotation.dart'; |
|
|
|
part 'activity.g.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; |
|
int state; |
|
int isDelete; |
|
String storeName; |
|
|
|
factory Activity.fromJson(Map<String, dynamic> json) => |
|
_$ActivityFromJson(json); |
|
Map<String, dynamic> toJson() => _$ActivityToJson(this); |
|
|
|
} |