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>
23 lines
592 B
Dart
23 lines
592 B
Dart
import 'package:json_annotation/json_annotation.dart';
|
|
|
|
import 'package:PiliPlus/models/space_article/item.dart';
|
|
import 'package:PiliPlus/models/space_article/list.dart';
|
|
|
|
part 'data.g.dart';
|
|
|
|
@JsonSerializable()
|
|
class SpaceArticleData {
|
|
int? count;
|
|
List<SpaceArticleItem>? item;
|
|
@JsonKey(name: 'lists_count')
|
|
int? listsCount;
|
|
List<ArticleList>? lists;
|
|
|
|
SpaceArticleData({this.count, this.item, this.listsCount, this.lists});
|
|
|
|
factory SpaceArticleData.fromJson(Map<String, dynamic> json) =>
|
|
_$DataFromJson(json);
|
|
|
|
Map<String, dynamic> toJson() => _$DataToJson(this);
|
|
}
|