mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-23 18:46:53 +08:00
32
lib/models_new/later/season.dart
Normal file
32
lib/models_new/later/season.dart
Normal file
@@ -0,0 +1,32 @@
|
||||
class Season {
|
||||
int? seasonId;
|
||||
String? title;
|
||||
int? seasonStatus;
|
||||
int? isFinish;
|
||||
int? totalCount;
|
||||
int? newestEpId;
|
||||
String? newestEpIndex;
|
||||
int? seasonType;
|
||||
|
||||
Season({
|
||||
this.seasonId,
|
||||
this.title,
|
||||
this.seasonStatus,
|
||||
this.isFinish,
|
||||
this.totalCount,
|
||||
this.newestEpId,
|
||||
this.newestEpIndex,
|
||||
this.seasonType,
|
||||
});
|
||||
|
||||
factory Season.fromJson(Map<String, dynamic> json) => Season(
|
||||
seasonId: json['season_id'] as int?,
|
||||
title: json['title'] as String?,
|
||||
seasonStatus: json['season_status'] as int?,
|
||||
isFinish: json['is_finish'] as int?,
|
||||
totalCount: json['total_count'] as int?,
|
||||
newestEpId: json['newest_ep_id'] as int?,
|
||||
newestEpIndex: json['newest_ep_index'] as String?,
|
||||
seasonType: json['season_type'] as int?,
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user