mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
* refactor: member page * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip * wip
21 lines
442 B
Dart
21 lines
442 B
Dart
import 'package:json_annotation/json_annotation.dart';
|
|
|
|
part 'article.g.dart';
|
|
|
|
@JsonSerializable()
|
|
class Article {
|
|
int? count;
|
|
List<dynamic>? item;
|
|
@JsonKey(name: 'lists_count')
|
|
int? listsCount;
|
|
List<dynamic>? lists;
|
|
|
|
Article({this.count, this.item, this.listsCount, this.lists});
|
|
|
|
factory Article.fromJson(Map<String, dynamic> json) {
|
|
return _$ArticleFromJson(json);
|
|
}
|
|
|
|
Map<String, dynamic> toJson() => _$ArticleToJson(this);
|
|
}
|