Files
PiliPlus/lib/models_new/fav/fav_pgc/series.dart
bggRGjQaUbCoE 418a1e8d39 reformat
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
2025-07-23 16:47:11 +08:00

24 lines
512 B
Dart

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?,
);
}