mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-27 05:45:51 +08:00
28
lib/models_new/member/season_web/archive.dart
Normal file
28
lib/models_new/member/season_web/archive.dart
Normal file
@@ -0,0 +1,28 @@
|
||||
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'];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user