mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-23 12:10:33 +08:00
29 lines
702 B
Dart
29 lines
702 B
Dart
import 'package:PiliPlus/models/model_video.dart';
|
|
|
|
class SeasonArchive extends BaseVideoItemModel {
|
|
SeasonArchive.fromJson(Map<String, dynamic> json) {
|
|
aid = json['aid'];
|
|
bvid = json['bvid'];
|
|
cover = json['pic'];
|
|
title = json['title'];
|
|
pubdate = json['pubdate'];
|
|
duration = json['duration'];
|
|
stat = ArchiveStat.fromJson(json['stat']);
|
|
owner = ArchiveOwner.fromJson(json);
|
|
}
|
|
}
|
|
|
|
class ArchiveOwner extends BaseOwner {
|
|
ArchiveOwner.fromJson(Map<String, dynamic> json) {
|
|
mid = json['upMid'];
|
|
name = '';
|
|
}
|
|
}
|
|
|
|
class ArchiveStat extends BaseStat {
|
|
ArchiveStat.fromJson(Map<String, dynamic> json) {
|
|
view = json['view'];
|
|
danmu = json['danmaku'];
|
|
}
|
|
}
|