mirror of
https://github.com/bggRGjQaUbCoE/PiliPlus.git
synced 2026-04-22 03:31:09 +08:00
23
lib/models_new/fav/fav_pgc/rights.dart
Normal file
23
lib/models_new/fav/fav_pgc/rights.dart
Normal file
@@ -0,0 +1,23 @@
|
||||
class Rights {
|
||||
int? allowReview;
|
||||
int? allowPreview;
|
||||
int? isSelection;
|
||||
int? selectionStyle;
|
||||
int? isRcmd;
|
||||
|
||||
Rights({
|
||||
this.allowReview,
|
||||
this.allowPreview,
|
||||
this.isSelection,
|
||||
this.selectionStyle,
|
||||
this.isRcmd,
|
||||
});
|
||||
|
||||
factory Rights.fromJson(Map<String, dynamic> json) => Rights(
|
||||
allowReview: json['allow_review'] as int?,
|
||||
allowPreview: json['allow_preview'] as int?,
|
||||
isSelection: json['is_selection'] as int?,
|
||||
selectionStyle: json['selection_style'] as int?,
|
||||
isRcmd: json['is_rcmd'] as int?,
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user