mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-28 14:25:55 +08:00
32
lib/models_new/history/history.dart
Normal file
32
lib/models_new/history/history.dart
Normal file
@@ -0,0 +1,32 @@
|
||||
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'],
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user