mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-24 02:56:58 +08:00
opt handle res
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
13
lib/models/pgc/pgc_info_model/rights.dart
Normal file
13
lib/models/pgc/pgc_info_model/rights.dart
Normal file
@@ -0,0 +1,13 @@
|
||||
class Rights {
|
||||
int? allowDm;
|
||||
int? allowDownload;
|
||||
int? areaLimit;
|
||||
|
||||
Rights({this.allowDm, this.allowDownload, this.areaLimit});
|
||||
|
||||
factory Rights.fromJson(Map<String, dynamic> json) => Rights(
|
||||
allowDm: json['allow_dm'] as int?,
|
||||
allowDownload: json['allow_download'] as int?,
|
||||
areaLimit: json['area_limit'] as int?,
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user