mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-20 00:56:31 +08:00
33 lines
560 B
Dart
33 lines
560 B
Dart
class History {
|
|
int? oid;
|
|
int? epid;
|
|
String? bvid;
|
|
int? page;
|
|
int? cid;
|
|
String? part;
|
|
String? business;
|
|
int? dt;
|
|
|
|
History({
|
|
this.oid,
|
|
this.epid,
|
|
this.bvid,
|
|
this.page,
|
|
this.cid,
|
|
this.part,
|
|
this.business,
|
|
this.dt,
|
|
});
|
|
|
|
factory History.fromJson(Map<String, dynamic> json) => History(
|
|
oid: json['oid'],
|
|
epid: json['epid'],
|
|
bvid: json['bvid'],
|
|
page: json['page'],
|
|
cid: json['cid'] == 0 ? null : json['cid'],
|
|
part: json['part'],
|
|
business: json['business'],
|
|
dt: json['dt'],
|
|
);
|
|
}
|