mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-24 19:16:44 +08:00
29
lib/models_new/triple/pgc_triple.dart
Normal file
29
lib/models_new/triple/pgc_triple.dart
Normal file
@@ -0,0 +1,29 @@
|
||||
class PgcTriple {
|
||||
int? coin;
|
||||
int? coinNumber;
|
||||
int? favorite;
|
||||
int? fmid;
|
||||
int? follow;
|
||||
int? like;
|
||||
bool? relation;
|
||||
|
||||
PgcTriple({
|
||||
this.coin,
|
||||
this.coinNumber,
|
||||
this.favorite,
|
||||
this.fmid,
|
||||
this.follow,
|
||||
this.like,
|
||||
this.relation,
|
||||
});
|
||||
|
||||
factory PgcTriple.fromJson(Map<String, dynamic> json) => PgcTriple(
|
||||
coin: json["coin"],
|
||||
coinNumber: json["coin_number"],
|
||||
favorite: json["favorite"],
|
||||
fmid: json["fmid"],
|
||||
follow: json["follow"],
|
||||
like: json["like"],
|
||||
relation: json["relation"],
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user