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.
24 lines
594 B
24 lines
594 B
import 'package:huixiang/generated/json/base/json_field.dart'; |
|
import 'package:huixiang/generated/json/activity_pos.g.dart'; |
|
import 'dart:convert'; |
|
export 'package:huixiang/generated/json/activity_pos.g.dart'; |
|
|
|
@JsonSerializable() |
|
class ActivityPos { |
|
bool? enabled = false; |
|
String? code = ''; |
|
String? showImage = ''; |
|
int? jumpType = 0; |
|
String? jumpUrl = ''; |
|
|
|
ActivityPos(); |
|
|
|
factory ActivityPos.fromJson(Map<String, dynamic> json) => $ActivityPosFromJson(json); |
|
|
|
Map<String, dynamic> toJson() => $ActivityPosToJson(this); |
|
|
|
@override |
|
String toString() { |
|
return jsonEncode(this); |
|
} |
|
} |