mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-19 08:36:17 +08:00
18 lines
446 B
Dart
18 lines
446 B
Dart
class Relation {
|
|
int? mid;
|
|
int? attribute;
|
|
int? mtime;
|
|
dynamic tag;
|
|
int? special;
|
|
|
|
Relation({this.mid, this.attribute, this.mtime, this.tag, this.special});
|
|
|
|
factory Relation.fromJson(Map<String, dynamic> json) => Relation(
|
|
mid: json['mid'] as int?,
|
|
attribute: json['attribute'] as int?,
|
|
mtime: json['mtime'] as int?,
|
|
tag: json['tag'] as dynamic,
|
|
special: json['special'] as int?,
|
|
);
|
|
}
|