mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-29 06:45:54 +08:00
23
lib/models_new/fav/fav_pgc/series.dart
Normal file
23
lib/models_new/fav/fav_pgc/series.dart
Normal file
@@ -0,0 +1,23 @@
|
||||
class Series {
|
||||
int? seriesId;
|
||||
String? title;
|
||||
int? seasonCount;
|
||||
int? newSeasonId;
|
||||
int? seriesOrd;
|
||||
|
||||
Series({
|
||||
this.seriesId,
|
||||
this.title,
|
||||
this.seasonCount,
|
||||
this.newSeasonId,
|
||||
this.seriesOrd,
|
||||
});
|
||||
|
||||
factory Series.fromJson(Map<String, dynamic> json) => Series(
|
||||
seriesId: json['series_id'] as int?,
|
||||
title: json['title'] as String?,
|
||||
seasonCount: json['season_count'] as int?,
|
||||
newSeasonId: json['new_season_id'] as int?,
|
||||
seriesOrd: json['series_ord'] as int?,
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user