mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-25 03:26:22 +08:00
feat: msg link setting
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
16
lib/models/msg/msg_dnd/uid_setting.dart
Normal file
16
lib/models/msg/msg_dnd/uid_setting.dart
Normal file
@@ -0,0 +1,16 @@
|
||||
class UidSetting {
|
||||
int? id;
|
||||
int? setting;
|
||||
|
||||
UidSetting({this.id, this.setting});
|
||||
|
||||
factory UidSetting.fromJson(Map<String, dynamic> json) => UidSetting(
|
||||
id: json['id'] as int?,
|
||||
setting: json['setting'] as int?,
|
||||
);
|
||||
|
||||
Map<String, dynamic> toJson() => {
|
||||
'id': id,
|
||||
'setting': setting,
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user