mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
mod: tweaks opt: publish page Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
25 lines
638 B
Dart
25 lines
638 B
Dart
import 'package:json_annotation/json_annotation.dart';
|
|
|
|
import 'package:PiliPlus/models/space/episodic_button.dart';
|
|
import 'package:PiliPlus/models/space/item.dart';
|
|
import 'package:PiliPlus/models/space/order.dart';
|
|
|
|
part 'archive.g.dart';
|
|
|
|
@JsonSerializable()
|
|
class Archive {
|
|
@JsonKey(name: 'episodic_button')
|
|
EpisodicButton? episodicButton;
|
|
List<Order>? order;
|
|
int? count;
|
|
List<SpaceItem>? item;
|
|
|
|
Archive({this.episodicButton, this.order, this.count, this.item});
|
|
|
|
factory Archive.fromJson(Map<String, dynamic> json) {
|
|
return _$ArchiveFromJson(json);
|
|
}
|
|
|
|
Map<String, dynamic> toJson() => _$ArchiveToJson(this);
|
|
}
|