Files
PiliPlus/lib/models_new/history/history.dart
bggRGjQaUbCoE 418a1e8d39 reformat
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
2025-07-23 16:47:11 +08:00

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'],
);
}