clean up models

Signed-off-by: dom <githubaccount56556@proton.me>
This commit is contained in:
dom
2026-04-05 12:10:18 +08:00
parent b897103af0
commit 279f21857d
308 changed files with 156 additions and 6243 deletions

View File

@@ -1,29 +1,11 @@
class NewEp {
int? id;
String? indexShow;
String? cover;
String? title;
String? longTitle;
String? pubTime;
int? duration;
NewEp({
this.id,
this.indexShow,
this.cover,
this.title,
this.longTitle,
this.pubTime,
this.duration,
});
factory NewEp.fromJson(Map<String, dynamic> json) => NewEp(
id: json['id'] as int?,
indexShow: json['index_show'] as String?,
cover: json['cover'] as String?,
title: json['title'] as String?,
longTitle: json['long_title'] as String?,
pubTime: json['pub_time'] as String?,
duration: json['duration'] as int?,
);
}